Apt configuration problems during Debian Installation
i have some problems with the network under debian i think.
When i am installing Sarge rc3 into a PC which previously ran windows, i used the netinstaller and everything worked fine, but when things came to apt configuration, it simply cannot connect to any external sources.
I tried to ping all the hosts in my network routed by D-link router, and the responses are positive, however, i am not able to ping any ip address outside this network.
I tried a woody installer on the same pc, and the same result turned out.
The ip address of the pc is 192.168.1.253
router is 192.168.1.1
I suspected that this might be the problem of the ethernet card, so i installed sarge into another box of mine, which had been running Woody fine for a long time. Unfortunately the same problem arose again, and i simply cannot turn back to Woody....
Could anyone help me figure out this problem?
Re: Apt configuration problems during Debian Installation
Also, that IP address for the box in question, is that from DHCP?
My D-Link router is set to DHCP with IP range from 192.168.1.2 to 192.168.1.150, i changed the upper limit to 192.168.1.255 but it still does not work.
the configuration file /etc/network/interfaces is as following:
#this loopback network interface
iface 10 inet loopback
#the primary network interface
face ehto net dhcp
While my another PC at hostel works with the same content of this file(using internal network of university, ip ranges in 172.20...).
The ifconfig return the following message:
eth0 link encap: ethernet Hwaddr: 00:E0:29:1D:EA:9E
inet addr: 192.168.1.253 Bcast 192.168.1.255
UPBROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Rx Packets: 402 errors: 0 dropped: 0 overruns: 0 frame: 0
Tx packtes: 204 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelon:1000
Rxbytes: 118726(115.9KiB) Txbytes: 46904(45.8KiB)
interrupt: 5 Base Address: Oxe800
I restarted and changed the cable but the same IP address is distributed to this pc(or not distributed), another PC which is of the same problems has the IP addrss of 192.168.1.254, which looks also abnormal.
Hi thanks for your reply, at the moment i think i have already found the problem.
I took notice to the message shown during the bootup, and found that the DHCPOFFER always comes from IP address 192.168.1.100, while my gateway to the internet is a wiressless router addressed at 192.168.1.1. The .1.100 address comes from a residential gateway which we use as a printer server. We disconnected this gateway and boot up, the PC will be able to acess the internet with no problem. otherwise, it will only be able to acess the IP address but cannot solve the domain names.
However this problem happens to two of my Debian PCs, while the third one runs fine.
The problem now is everytime during bootup or reboot, we have to disconnet the print server. It is very unconvenienet and may affect the printing of Linux. So is there a way to set this DHCPoffer to be always from 192.168.1.1, which is the right gateway we are usng?
|All times are GMT -5. The time now is 11:42 PM.|