LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't connect to the Internet with DHCP (https://www.linuxquestions.org/questions/linux-networking-3/cant-connect-to-the-internet-with-dhcp-248357/)

1kyle 10-28-2004 09:07 AM

Can't connect to the Internet with DHCP
 
I've got myself a new box adsl router etc all in one piece of kit --saves exta boxes and wires.

When I connect a Windoze machine to it I just let the DHCP connect to my ISP --I don't need to make any settings and it works fine.


Suse 9.1 I try the same thing and nothing happens --Time out on server connection was made to URL ADDR at Port 80.


If I configure the Nic manually i.e assign a static IP address, use the DSN numbers of my ISP and use the default gateway as 192.168.1.1 (The router) it works fine --but I really don't want to have to configure these boxes manually.

Any help --- note that the ADSL router is the DHCP server so I only want my network card to connect to it as a client.

Thanks

neilman 10-28-2004 12:21 PM

When you get a DHCP lease to your SUSE Linux box, show us the output from your [b]ifconfig/b] and route -n commands.

1kyle 11-01-2004 04:10 PM

Fixed -- thanks -- bad case of RTFM.

Cheers
-K

bisio_mario 11-17-2004 03:09 AM

Please, can you explain exactly how you solved the problem?
I have a D-Link DI-604 Router and have similar problems. To get internet working I have to enter every time the string below and to set manually DNS of my ISP (DNS through DHCP doesn't work):

route add default netmask 255.255.255.0 gw 192.168.0.1

How can I fix this? Where can I put this string to make it default every time I restart the system?

Thanks in advance...


All times are GMT -5. The time now is 08:54 AM.