View previous topic :: View next topic |
Author |
Message |
southpaw Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine_2.gif)
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Tue Nov 08, 2005 6:21 am Post subject: I need help fine tuning my network connections...(SOLVED) |
|
|
...and so the saga continues .
Hello again Gentoo bretherin,
in this chapter of my ongoing journey towards consistent internet connection, stable, and secure. I find myself asking the question, how do I automate my system connectivity? For those of you who have no clue what the hell I'm talking about please allow to bring you up to date . I have just recently completed a satisfactory Gentoo-2005.1 install on my laptop(Dell inspiron 600m), I've got everything just about where I want it except for(yep you guessed it) the networking issue . The hardware I'm dealing with include:
* Dell inspiron 600m
* Broadcom 57xx Ethernet card
* Intel PRO 2200 b/g Wireless Network card
* Linksys WRT54G Router
Now I was able to properly install all the necessary drivers and/ or modules to get things going for both the ethernet and the wireless cards. So from the ethernet side of things the system responds just fine upon any reboot as long as the ethernet cable plugged in. However, from the wireless side is where things get a little tricky. My goal was to have things setup so that my internet connection would login automatcally when I boot, like I said before this works fine from the wired side (eth0). However, if I want the system to automatically login wirelessly (eth1), and my ethernet cable isn't plugged in for some reason or another my wireless connection will not do it's thing, which looks something like 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 after I get past this the only way I get my wireless to connect is by typing this command in the terminal:
Which works fine but I would rather have this run automatically without getting the errors.
Any suggestions??? _________________ Legalize It
Last edited by southpaw on Tue Nov 15, 2005 10:50 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
southpaw Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine_2.gif)
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Wed Nov 09, 2005 5:03 am Post subject: |
|
|
Hmmmm, I guess I'm on my own on this one . _________________ Legalize It |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Wed Nov 09, 2005 9:20 am Post subject: |
|
|
Does the wireless connection automatically come up if it is plugged in?
If so then there is probably a problme with the scripts somewhere exiting early.
If not, then you need to get that happening first. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
southpaw Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine_2.gif)
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Wed Nov 09, 2005 6:29 pm Post subject: |
|
|
Sorry if I didn't make myself more in my original post, but no it doesn't come up automatically. Basically, here's how it goes, if I boot with my ethernet cable plugged in I get an internet connection via my ethernet. However, if boot without my eternet cable plugged in then what I posted befoer happens, but then I type in:
...and viola, I get on wirelessly. Of course I've been trying to figure out how to automate this, which I know is my first obstacle, but I don't know how... _________________ Legalize It |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nevynxxx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Thu Nov 10, 2005 11:25 am Post subject: |
|
|
Look in the installation handbook for how to get more than one connection to automatically come up. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
StarDragon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/3299116104950506c928ca.jpg)
Joined: 19 Jun 2005 Posts: 390 Location: tEXas
|
Posted: Thu Nov 10, 2005 3:03 pm Post subject: |
|
|
Mmm, I could be wrong here but isn't wireless supposed to have a /dev/ra0 device? Just don't see how eth1 is tied to your wireless, also to view wireless connectivity type iwconfig not ifconfig. _________________ "After all, a person's a person, no matter how small."--Horton Hears A Who! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stip n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jul 2003 Posts: 53
|
Posted: Fri Nov 11, 2005 2:32 pm Post subject: |
|
|
you may want to have a look at ifplugd. a search at the forums for this should provide you with enough hits. _________________ The answer is 42. But what was the question? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
southpaw Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine_2.gif)
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Fri Nov 11, 2005 8:45 pm Post subject: |
|
|
Just so you know stardragon,
in my experience with installation, reinstallation, and such; I have always noticed that the system refers to the primary "nic" as "eth0", and anything there after (wired or wireless) on a sequential scheme, such as eth1, eth2, and so on. Now, in reference to your suggestion strip, I have already installed "ifplugd" prior to posting this thread, which is a good app for this type of situation, and it is already recommended in chapter 4 of the Networking section of the Gentoo Installation Handbook.
For the record, as it has been suggested to me and to others; When ever I run into a wall and I can't figure out how to get around it I always try to exaust as many other options for a solution as possible before posting my question here on the forum. Sometimes, I figure, it might be a simple solution that was right in front of me the whole time. Although, there are other times when the problem really is a PROBLEM, which I then rely on the experiences and suggestions of others here on the forums to aid not only myself, but anyone who may very well be experiencing similar problems. I know it might soud a bit cheesy, but whenever I post I always make an attempt to format my inqueries in a manner that will benefit everybody in the community .
Okay, okay, enough cornballing around, I think this issue is a configuration file issue. Heres what I'm getting at, since I havn't been able to make much progress with the wireless-tools config I swapped it out with the wpa_supplicant.conf, and so now I'm trying out different settings in that file to see if I get anywhere with it. I woud like address one issue concerning "/etc/conf.d/net".
Code: | # /etc/conf.d/net:
#
iface_eth0="dhcp"
dhcpcd_eth0="-t 10"
#
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-ipw2200"
|
...Being that I had this setup for my ethernet originally(eth0), does adding the other lines with the different interface name cause any conflict with the original interface? _________________ Legalize It |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
southpaw Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/movie_x-men_wolverine_2.gif)
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Tue Nov 15, 2005 10:48 pm Post subject: |
|
|
Well,
to whom it may concern I found out what the problem was (with a little help from KG6KVQ, in the "Gentoo help" section of "Linux Forums").
Apperently it was a syntax issue, I had a feeling it was one of those thing that I was too close to it to see it . Anyway KG6KVQ suggested that I do this:
Code: | # cd /etc/init.d
ln -s net.eth0 net.eth1
rc-update add net.eth1 default |
...and that was pretty much it. I had to make a few adjustments to my "/etc/conf.d/net" concerning my encryption stuff, but the important thing is that when I boot and my ethernet cable isn't plugged in my system automatically brings up my wireless interface without any snags .
Now off to more important thing such as what theme I may want to change my framebuffer splash to .... _________________ Legalize It |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|