LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-28-2005, 07:01 AM   #1
rps63ifid
Member
 
Registered: Feb 2004
Location: Idaho, USA
Distribution: Debian, Linux Mint
Posts: 65

Rep: Reputation: 15
Wireless vs wired connection on same laptop


I have a Dell D600m laptop dual-booting WinXP and FC3. The box has a built in NIC and a Centrino-based wireless connection. I use the box at work with the wired connection active, and at home (under WinXP, to this point) with the wireless connection to talk to my home network. I recently got the wireless connection configured and ALMOST working under FC3 using the IPW2200 packages. I don't think I will typically need both connections active at the same time.

Like I said, "almost"...

Last night, when I fired up FC3 here at home and tried to connect to my WAN for the first time, I succeeded in connecting (I had a strong signal, etc.) and my WAP showed a connection from the appropriate MAC address. I had an IP assigned by the WAP (using DHCP) there. Problem was I could not seem to get to the outside world via my connection. It seems like when I start up a Web browser, it doesn't know to use eth1 (the wireless connection) and/or it is still trying to use the DNS settings, etc., that are configured for use when I am connected to my work LAN via eth0 (the wired NIC).

I am obviously missing something fairly simple in getting the network configuration set up to fully use the wireless connection. Can someone point me toward the needed steps to be able to easily switch between the wired and wireless connections, depending on where I am (wired at work, wireless at home and possibly when travelling)?

Thanks in advance!
 
Old 01-28-2005, 08:14 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Your route table needs to be updated. Most distributions would do this automatically if you load the wireless init script with the wired init scrip unloaded.

To check your route table run "route" on a command line. See what iface the gateway is using.
 
Old 01-28-2005, 08:39 AM   #3
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Rep: Reputation: 30
just a simple question. Do you have ADSL at home?

If so you need a program to interface with the connection. I was having similar problems until I downloaded Roaring Penguin PPPoE and that gave me the opportunity to connect to the internet.

also check to see if your dns numbers are in /etc/resolv.conf
 
Old 01-29-2005, 08:35 AM   #4
hieudt
LQ Newbie
 
Registered: Aug 2004
Location: Hanoi - Vietnam
Distribution: Fedora Core 5
Posts: 24

Rep: Reputation: 15
Try this: /sbin/ip route add default dev eth1

It worked for me.
 
Old 01-29-2005, 10:21 AM   #5
rps63ifid
Member
 
Registered: Feb 2004
Location: Idaho, USA
Distribution: Debian, Linux Mint
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks! I will give the "route" command a shot later this morning. It makes sense to me that this should be part of the solution. The remaining question (at least in my mind, until I get a chance to play with this) will be how DNS will work, given that on my eth0 connection I have two DNS entries specified that correspond to work servers. On my other systems with wireless connections at home, the DNS is dynamically handled...

I will give it a shot and see what happens, and then post a follow-up.

Thanks for the help!
 
Old 01-31-2005, 08:32 AM   #6
jlawren7
Member
 
Registered: Jan 2005
Location: Rochester, NY
Distribution: Fedora Core III
Posts: 46

Rep: Reputation: 15
just a hint if all other stuff doesn't work
i have a centrino based notebook as well XP & FC3 dual booted the networking is better in FC3 than XP. I use NetworkManager. it auto detects which network device is the best and tries to connect.

see if this helps you out....

http://www.fedoranews.org/contributo...twork_manager/

Updated link

Last edited by jlawren7; 02-04-2005 at 09:02 AM.
 
Old 02-02-2005, 06:45 AM   #7
rps63ifid
Member
 
Registered: Feb 2004
Location: Idaho, USA
Distribution: Debian, Linux Mint
Posts: 65

Original Poster
Rep: Reputation: 15
jlawren7,

Thanks for the tip. I will give this a shot this evening. I tried the "ip route" command above and it failed. I don't have my laptop with me at the moment, so I don't have the specific error message in front of me, but it seemed like it was failing to get the wireless connection established as the default connection.
 
Old 02-02-2005, 09:38 PM   #8
rps63ifid
Member
 
Registered: Feb 2004
Location: Idaho, USA
Distribution: Debian, Linux Mint
Posts: 65

Original Poster
Rep: Reputation: 15
jlawren7,

It works! I am wireless even as I write this...

I had the two packages already installed that were mentioned in the article at the URL you supplied, so it was just a matter of turning on the NetworkManager service, and then starting the NetworkManagerInfo thingy (what do you call those, anyway? an applet?). The first time that I booted after setting the NetworkManager to start, I couldn't get it to connect. It saw my home WAN, and prompted me for the WEP key, but I couldn't get it to connect. I'm not sure what the difference is, but I rebooted and this time it connected.

I haven't played much with it, but at least I know it worked one time!

Thanks for your help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
suse 9.3 no (wired or wireless) intrernet connection k0rson Linux - Wireless Networking 2 11-14-2005 05:45 PM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM
Laptop-net on wired/wireless interface blueplazma Linux - Wireless Networking 2 12-24-2004 02:29 PM
robust wireless/wired networking on laptop? JohnnyBravo Linux - Wireless Networking 0 04-10-2004 05:05 PM
do i have to bridge a wireless and wired connection on the same linux box ulto Linux - Wireless Networking 2 04-07-2004 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration