Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I need help fine tuning my network connections...(SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Tue Nov 08, 2005 6:21 am    Post subject: I need help fine tuning my network connections...(SOLVED) Reply with quote

...and so the saga continues :roll: .

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 :wink: . 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:
Code:
# dhcpcd eth1

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
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Wed Nov 09, 2005 5:03 am    Post subject: Reply with quote

Hmmmm, I guess I'm on my own on this one :( .
_________________
Legalize It
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Wed Nov 09, 2005 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Wed Nov 09, 2005 6:29 pm    Post subject: Reply with quote

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:
Code:
# dhcpcd et1

...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
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Thu Nov 10, 2005 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
StarDragon
Guru
Guru


Joined: 19 Jun 2005
Posts: 390
Location: tEXas

PostPosted: Thu Nov 10, 2005 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
stip
n00b
n00b


Joined: 15 Jul 2003
Posts: 53

PostPosted: Fri Nov 11, 2005 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Fri Nov 11, 2005 8:45 pm    Post subject: Reply with quote

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 :wink: .

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
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Tue Nov 15, 2005 10:48 pm    Post subject: Reply with quote

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 8O . 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 8) .
Now off to more important thing such as what theme I may want to change my framebuffer splash to :lol: ....
_________________
Legalize It
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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