Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Hello all,
I seem to be having a bit of difficulty getting my settings right. Okay, here's the background.
I have a Dell Inspiron 600M with the Broadcom 57xx ethernet card, and the Intel PRO2200 b/g miniPCI wireless card. I connect to the internet at home via the Linksys WRT54G wireless router, which also has 4 ethernet ports. Now, I installed everything properly and everything works properly (sort of). Now I'm sure that you're probably wondering (so what's the problem), well here goes.
Whenever I boot with my ethernet cable plugged in everything is a okay, but when I boot without my ethernet cable plugged in I get this:
Code:
* Bringing up eth0
* dhcp
* Running dhcpcd... [!!]
* ERROR: Problem starting needed services.
* "netmount" was not started.
* ERROR: Problem starting needed services.
* "ntp-client" was not started.
* ERROR: Problem starting needed services.
* "sshd" was not started.
...Now, just so you know my ethernet is seen as "eth0", and my wireless is seen as "eth1". So after my system finishes booting I can only get an internet connection(wirelessly) by typing this:
Code:
# dhcpcd eth1
...and presto I'm connected, so what I would like to accomplish is for my system to acknowledge my wireless card when I don't have my ethernet cable plugged in automatically.
I've already looked high and low for an answer, and I have posted several posts on the Gentoo forums but to no avail, so I figured I would try my luck here. Hopefully someone here can point me in the right direction, any suggestions.....
Wow that was fast,
you know it took over 24hrs on the Gentoo forums to get a response, not that I'm really complaining or anything like that, but, anyway .
Okay, heres how I set it up the first time with "wireless-tools":
On your first post it shows that the system tries to activate eth0 and when it fails it does not try to activate eth1 before disabling all items that depend on networking.
If you have we can take a good look at config files, dmesg and kernel modules, etc.
...Yeah, I originally searched for an init script such as "net.eth0", that would apply to eth1, but to no avail. I still think that it this has something to do "/etc/conf.d/net", but I haven't been able to find a combination that works...
isnt it wonderful how all the syntax has changed in /etc/conf.d/net
__________________
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds http://loft306.org
Ok, it seems to pick up the connection just fine with "wireless-tools" just fine. For some reason when I had "wpa_supplicant" set up in my "/etc/conf.d/net", I still had to do it manually via:
Code:
# dhcpcd eth1
...However, as a quick fix I changed my "/etc/conf.d/net" file to use "iwconfig", then I rebooted and SHAZAAM, the process is now automated.
Thanx a whole lot there KG6KVQ, I can't believe that I had to go to a "non-official" Gentoo forum to fix an "Official" Gentoo issue.
As far as "encryption" and WPA goes I guess I'll startup another thread concerning "wpa_supplicant" if it gets a little too sticky for me to figure it out on my own
I guess I'm going to have to spend a little more time out on these forums to broaden my Linux knowledge, Thanx again...
Oh btw, do I have to put solved in parentheses in the title bar like in the gentoo forums, ethier way I'll do it out of courtesy for the maintainers.
Does anyone have a clue? Please tell me what i need to tell you for you
to help me =)
The output from /etc/init.d/net.eth1 start
* Starting eth1
* Starting wpa_supplicant on eth1 [ ok ]
* timed out [ !! ]
Between the two last lines there is a delay of around 60s. When i look
in wpa_gui i can see that eth1 is associated with my AP and so far
everything looks fine. As there is no additional output from the script
i can't draw any conclusions as of what the problem might be. When
manually runnning wpa_supplicant and then dhcpcd my connection works
fine!
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe