LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2005, 04:18 PM   #1
pantoniades
LQ Newbie
 
Registered: Mar 2005
Location: Brooklyn, NY, USA
Distribution: Fedora 10, OpenSuse 11, Ubuntu
Posts: 7

Rep: Reputation: 0
dhcp does not set gateway


Hi,

For some reason, about a month ago my Fedora Core 3 system decided that it no longer needed to set the gateway when connecting via DHCP. This happens both wirelessly and over ethernet, and on several different routers.

At home it's not a big problem - I just need to log in as root & type

route add default gw 192.168.1.1

And all is well. At the hotspot (airtport, starbucks, etc), I don't always have a friend to tell me the gateway's IP. So that's bad.

I suspect the problem lies in dhclient-3.0.1-40_FC3 as this started after an upgrade to that (& other packages), but I am also useing the atheros wireless chipset (madwifi drivers, kept current with cvs) on a thinkpad T41 with kernel 2.6.10-1.770_FC3

Has anyone else experienced the same?
 
Old 04-07-2005, 08:50 AM   #2
contiang
Member
 
Registered: Dec 2004
Location: malaysia
Distribution: Redhat-7.2, VectorLinux-5.0 Standard
Posts: 46

Rep: Reputation: 15
hi there,

i am also having the same problem.. but i am using redhat-7.2. So far i still can't connect to internet... is your problem solved yet?
 
Old 02-13-2006, 01:52 PM   #3
paddy
Member
 
Registered: Jan 2006
Location: Suedpfalz
Distribution: kubuntu
Posts: 114

Rep: Reputation: 15
hi, have you solved yours yet? I'M experiencing the same. however, several threads say something about setting up the gateway in /etc/sysconfig/network - but I don't have that sysconfig directory
 
Old 02-13-2006, 06:57 PM   #4
contiang
Member
 
Registered: Dec 2004
Location: malaysia
Distribution: Redhat-7.2, VectorLinux-5.0 Standard
Posts: 46

Rep: Reputation: 15
Yeah,I have solved the problem. Could you describe more details about your problem.
 
Old 02-14-2006, 05:26 AM   #5
paddy
Member
 
Registered: Jan 2006
Location: Suedpfalz
Distribution: kubuntu
Posts: 114

Rep: Reputation: 15
my problem's solved.

I simply added the line "gateway 192.168.0.1" to the file /etc/network/options (that's what it's called in ubuntu)

thanks anyway, paddy
 
  


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
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 01:35 PM
No gateway from DHCP when using wireless tnine9 Linux - Wireless Networking 0 01-30-2005 01:00 PM
DHCP and Gateway Renfro Linux - Networking 1 08-28-2003 07:22 PM
trying to set up a gateway annehoog Linux - Newbie 6 05-12-2003 09:54 AM
linux gateway and DHCP weazy Linux - Networking 3 03-19-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:39 PM.

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