IPCOP - Connect to ADSL modem router interface

mcclod

Well-Known Member
Joined
Jan 28, 2005
Messages
119
Reaction score
1
I've got a dlink dsl 300t that I'm using in bridge mode, it's on the ipcop red interface, ipcop is performing the ppoe connection.

The problem is I want to connect to the dlink's web management interface, and can't see it, ping it, nothing!!

dlink ip address is 192.168.1.1,
ipcop is 192.168.10.1 on the green interface and dishing out dhcp address in the 192.168.10 range for the local lan.

any help will be appreciated
 
you cant get to the dlink from there
you will have to plug the dlink straight into your switch before u can access it. When your done, just plug it back into the ipcop red.
 
sparklehorse said:
You need to change the default 1.1.1.1 of the red interface to something else.

see here:
http://www.ipcops.com/index.php?name=PNphpBB2&file=viewtopic&t=4543

Thanks, I got it to work as follows:

You need to edit the /etc/rc.d/rc.red file (quick search of the file will locate the 1.1.1.1 & 1.1.1.255) and then issue '/etc/rc.d/rc.netaddress.down && /etc/rc.d/rc.netaddress.up" command - presto red card IP changed - i changed mine to 192.168.1.2 and can now see the modem's web interface, yay!!
 
Interesting, I can access the the web interface of the modem, via a browser, but I can't ping it, or telnet to it (it runs a busybox). to be able to do this would i have to add some sort of routing, current routing tables are
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
rrba-146-64-01. *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
192.168.10.0    *               255.255.255.0   U     0      0        0 eth0
default         rrba-146-64-01. 0.0.0.0         UG    0      0        0 ppp0
eth1 is my red, eth0 is my green interface.
 
Last edited:
What ip did you assign to the red interface?
If you can browse you should be able to telnet to port 80. Other ports may be blocked, but ping should work.
 
I assigned 192.168.1.2 to the red interface, the modems address is 192.168.1.1 (it's default). If I check the proxy logs on ipcop, I can see access to the modem's web interface. When I telnet to port 80 of the modem I can connect, I hit enter twice and i get an error back from ipcop, badly formed request. Can't ping though.

ifconfig on ipcop
Code:
eth0      Link encap:Ethernet  HWaddr 00:08:C7:EB:F3:09
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:861007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:685062 errors:0 dropped:0 overruns:0 carrier:0
          collisions:10926 txqueuelen:1000
          RX bytes:252616652 (240.9 Mb)  TX bytes:307676229 (293.4 Mb)
          Interrupt:9 Base address:0x2000 Memory:42000000-42000038

eth1      Link encap:Ethernet  HWaddr 00:08:C7:45:EB:D2
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:686779 errors:0 dropped:0 overruns:0 frame:0
          TX packets:848113 errors:583 dropped:0 overruns:0 carrier:583
          collisions:0 txqueuelen:1000
          RX bytes:311024492 (296.6 Mb)  TX bytes:256924175 (245.0 Mb)
          Interrupt:10 Base address:0x2020 Memory:42100000-42100038

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:45637 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45637 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16445100 (15.6 Mb)  TX bytes:16445100 (15.6 Mb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:165.146.69.xxx  P-t-P:165.146.64.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1400  Metric:1
          RX packets:623169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:768899 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:267015141 (254.6 Mb)  TX bytes:216554301 (206.5 Mb)
 
Last edited:
everything looks fine - maybe the modem only allows access on port 80 and no ping - you'll have to check on that specific modem. Can you ping it when it is connected somewhere else?
 
Yeah I can ping and telnet to it from a ssh session on ipcop. I just can't ping or telnet to it from a client on the green side :confused:
 
Top
Sign up to the MyBroadband newsletter
X