root.veg
09-11-2003, 10:41 AM
Strange one, this: I just took delivery of a D-Link ADSL modem. It's an ethernet-connection design (one RJ-11 socket for the ADSL line, one RJ-45 for an ethernet connection).
Anyway, I've got two ethernet NICs in my gateway box - eventually eth0 will connect to my local, private IP network, and eth1 will connect to the ADSL modem. I haven't actually bought an ADSL subscription yet, but I had a go at configuring the modem using the web-based interface, just to see if the thing was working OK and what options I have.
I followed the install instructions exactly, which were:
1) Make sure the computer isn't networked to anything else. So I brought down all my other network interfaces (in my case, i ran ifdown eth0 and ifdown eth2). Confirmed this by running ifconfig, and only the loopback interface showed up. I also stopped Shorewall, which was doing my firewalling and routing. Checked this by running iptables -L .
2) Connect the computer's NIC directly to the ADSL modem using a straight-through cat5 cable, and turn the modem on. I used the NIC named eth1 on my computer, by the way. Modem shows the "active connection" light when I plug the cable in.
3) Configure the computer's ethernet interface to use the DHCP server built in to the modem. As I'm using Debian, I did this by adding the line "iface eth1 inet dhcp" in /etc/network/interfaces . Then I ran ifup eth1. After that, ifconfig showed that my eth1 had an IP address of 192.168.0.2 , plus the gateway and broadcast addresses had been set, indicating that the modem's DHCP server had done its job.
4) Run a web-browser (I used Mozilla) and point it at http://192.168.0.1 , which should bring up the web-page where you can configure the modem. So I did. But it point-blank refuses to work :( Mozilla immediately says "Connection was refused when contacting 192.168.0.1").
And there's my problem: I've done everything as the instructions told me, but I can't see the web page I'm supposed to. Any ideas? Or should I just return it to the people I bought it from and say "it doesn't work"?
PS Stuff I've tried already:
1) ping 192.168.0.1 - works perfectly, however, *still* works perfectly even when I physically disconnect the cable from the modem. Weird, huh?
2) ping random IP addresses - works as expected, ie no response. Also noticed while doing this that the message "eth1: entering full-duplex mode according to auto-negotiated partner ability..." keeps appearing on the console every minute or so. Is this just the DHCP server constantly renewing the lease?
3) lynx instead of Mozilla - doesn't work
4) connect modem to NIC using cross-over cable - doesn't work
5) connecting both the modem and the NIC to my hub, using straight-through cables - the modem doesn't indicate an active connection.
6) tried the URL http://192.168.0.1/index.html
7) made sure Mozilla isn't set to use a proxy server.
Anyway, I've got two ethernet NICs in my gateway box - eventually eth0 will connect to my local, private IP network, and eth1 will connect to the ADSL modem. I haven't actually bought an ADSL subscription yet, but I had a go at configuring the modem using the web-based interface, just to see if the thing was working OK and what options I have.
I followed the install instructions exactly, which were:
1) Make sure the computer isn't networked to anything else. So I brought down all my other network interfaces (in my case, i ran ifdown eth0 and ifdown eth2). Confirmed this by running ifconfig, and only the loopback interface showed up. I also stopped Shorewall, which was doing my firewalling and routing. Checked this by running iptables -L .
2) Connect the computer's NIC directly to the ADSL modem using a straight-through cat5 cable, and turn the modem on. I used the NIC named eth1 on my computer, by the way. Modem shows the "active connection" light when I plug the cable in.
3) Configure the computer's ethernet interface to use the DHCP server built in to the modem. As I'm using Debian, I did this by adding the line "iface eth1 inet dhcp" in /etc/network/interfaces . Then I ran ifup eth1. After that, ifconfig showed that my eth1 had an IP address of 192.168.0.2 , plus the gateway and broadcast addresses had been set, indicating that the modem's DHCP server had done its job.
4) Run a web-browser (I used Mozilla) and point it at http://192.168.0.1 , which should bring up the web-page where you can configure the modem. So I did. But it point-blank refuses to work :( Mozilla immediately says "Connection was refused when contacting 192.168.0.1").
And there's my problem: I've done everything as the instructions told me, but I can't see the web page I'm supposed to. Any ideas? Or should I just return it to the people I bought it from and say "it doesn't work"?
PS Stuff I've tried already:
1) ping 192.168.0.1 - works perfectly, however, *still* works perfectly even when I physically disconnect the cable from the modem. Weird, huh?
2) ping random IP addresses - works as expected, ie no response. Also noticed while doing this that the message "eth1: entering full-duplex mode according to auto-negotiated partner ability..." keeps appearing on the console every minute or so. Is this just the DHCP server constantly renewing the lease?
3) lynx instead of Mozilla - doesn't work
4) connect modem to NIC using cross-over cable - doesn't work
5) connecting both the modem and the NIC to my hub, using straight-through cables - the modem doesn't indicate an active connection.
6) tried the URL http://192.168.0.1/index.html
7) made sure Mozilla isn't set to use a proxy server.