PDA

View Full Version : 3.2-iso can not connect (use DHCP) internet



wangcity
05-29-2003, 08:06 AM
i have two pc , first is DHCP server use windows2000, it use ADSL moden(USB interface). The second use Knoppix 3.2--5.20 ISO.

but i can not use DHCP connect internet.
my NIC is 8139too, and knoppix can find it.
I ping 127.0.0.1 is ok, but can not ping 192.168.0.1

how can i do it ?

i already add nameserver in /etc/hosts, and edit reso...conf file , add gateway. and so on. at this time , can ping 192.168.0.1 but still can not get connect : like ping www.yahoo.com it's can not.

BTW: when i use 3.1 , is all can work fine.

thanks .

rickenbacherus
05-29-2003, 08:33 PM
i have two pc , first is DHCP server use windows2000, it use ADSL moden(USB interface). The second use Knoppix 3.2--5.20 ISO.

but i can not use DHCP connect internet.
my NIC is 8139too, and knoppix can find it.
I ping 127.0.0.1 is ok, but can not ping 192.168.0.1

how can i do it ?

i already add nameserver in /etc/hosts, and edit reso...conf file , add gateway. and so on. at this time , can ping 192.168.0.1 but still can not get connect : like ping www.yahoo.com it's can not.

BTW: when i use 3.1 , is all can work fine.

thanks .

Pinging 127.0.0.1 only tells you that your local (lo) network is up.

Not sure I follow you- can you ping 192.168.0.1 or not? I assume that 192.168.0.1 is the ip of your DHCP server yes?

As root:

# ifconfig -a

Do you have an ip address on eth0?
If you don't have an ip address as root try this:

# netcardconfig

Here's how to take the network up and down at will.
# ifdown -a
# ifup -a
# ifconfig -a

If you already have an ip address on eth0 can you ping 204.71.200.67?

Harry Kuhman
05-29-2003, 08:54 PM
i have two pc , first is DHCP server use windows2000, it use ADSL moden(USB interface). The second use Knoppix 3.2--5.20 ISO.

but i can not use DHCP connect internet.
my NIC is 8139too, and knoppix can find it.
I ping 127.0.0.1 is ok, but can not ping 192.168.0.1

how can i do it ?

i already add nameserver in /etc/hosts, and edit reso...conf file , add gateway. and so on. at this time , can ping 192.168.0.1 but still can not get connect : like ping www.yahoo.com it's can not.

BTW: when i use 3.1 , is all can work fine.

thanks .

If you are able to ping 182.168.0.1 then your hardware is working. Try running netcardconfig and doing another DHCP setup. Did that work? Please post the result. If not, try netcardconfig again, but manually set up your card (look at what you are currently using for a DNS server on another system so you'll have that setting when asked for it). Pick a unique IP in the proper range (looks like it's 192.168.0.xxx for you), a mask of 255.255.255.0, and give 102.168.0.1 as your gateway. Again, please post back the result.

You might also want to try sudo mii-tool -r and then netcardconfig again, although I would do the above first.