Jump to content

Setting Up Dlink Dap-1360 As Repeater With Ubuntu 11.04


qualtrough

Recommended Posts

I am using a Belkin LAN router on my computer (phone line and LAN in back).

It works fine, but I want to increase the signal strength so that a computer somewhat far away gets a better signal.

I was told that the DAP-1360 fits the bill for that and can be used as a repeater.

I have plugged in the DAP-1360, and connected the LAN to one of the ports in the Belkin.

After doing that I continue to have internet access and the wireless light is blinking green.

However, per the instructions, I am supposed to type in either http://dlink.ap or http://192.168.0.50 in my browser. If I do the former I get a search page for dlink with lots of links. If I do the latter I get nothing.

That's as far as I get.

I would appreciate it if anyone could take me through this step by step if something needs to be re-configured as I am not that adept at that. I have spent about 3 hours googling and have not yet found the solution. Thanks in advance for any help!

Link to comment
Share on other sites

open a terminal and run an ifconfig -a and look at the ip's presented.

Thanks. I just did that, and this is what I get below. But, what do I need to change, and how do I change it?

eth1 Link encap:Ethernet HWaddr 78:cd:8e:8d:29:d1

inet addr:192.168.2.7 Bcast:192.168.2.255 Mask:255.255.255.0

inet6 addr: fe80::7acd:8eff:fe8d:29d1/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:122033 errors:0 dropped:0 overruns:0 frame:0

TX packets:94382 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:132362737 (132.3 MB) TX bytes:14087700 (14.0 MB)

Interrupt:20 Base address:0x1100

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:20 errors:0 dropped:0 overruns:0 frame:0

TX packets:20 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1200 (1.2 KB) TX bytes:1200 (1.2 KB)

Link to comment
Share on other sites

route should give you the gateway address, in your case, it's very likely that it'll be 192.168.2.1 or maybe 192.168.2.50 as per your instructions.

to subnet is the "2" is this 192.168.2.1 ip address, both devices should have a different one, 1 and 2 for example.

if your repeater is getting its adress from your router than check your router dhcp server configuration and make dhcp give addresses in another subnet.

Link to comment
Share on other sites

route should give you the gateway address, in your case, it's very likely that it'll be 192.168.2.1 or maybe 192.168.2.50 as per your instructions.

to subnet is the "2" is this 192.168.2.1 ip address, both devices should have a different one, 1 and 2 for example.

if your repeater is getting its adress from your router than check your router dhcp server configuration and make dhcp give addresses in another subnet.

I appreciate your suggestion, but I am not very experienced with this kind of thing. Could you break that down a bit, perhaps give a step by step that I could follow? I am sorry to impose, but I don't have the experience that allows me to proceed any further.

Link to comment
Share on other sites

connect your machine to your belkin router and type route in a terminal, paste the output. disconnect from your router and connect to your repeater, type route in a terminal, paste the output.

Thanks. Will my router plugged in I get this:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.2.0 * 255.255.255.0 U 1 0 0 eth1

link-local * 255.255.0.0 U 1000 0 0 eth1

default router 0.0.0.0 UG 0 0 0 eth1

With the repeater (dlink dap-1360) plugged in I get this:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.2.0 * 255.255.255.0 U 1 0 0 eth1

link-local * 255.255.0.0 U 1000 0 0 eth1

If you are going to advise me to change anything, please run me through the steps involved or point me to a source that does as this is not something I am familiar with. Thanks very much for your help!

Link to comment
Share on other sites

what's the router model please, i'll try to find the manual to point you to the required steps.

edit/ I've looked quickly at the DAP1360 manual, which mode are you willing to setup?

Edited by urandom
Link to comment
Share on other sites

what's the router model please, i'll try to find the manual to point you to the required steps.

edit/ I've looked quickly at the DAP1360 manual, which mode are you willing to setup?

Thanks. I want to set up as a repeater. I have the Belkin in my office, and want to set up the repeater in my home in order to improve the signal.

Link to comment
Share on other sites

what's the router model please, i'll try to find the manual to point you to the required steps.

edit/ I've looked quickly at the DAP1360 manual, which mode are you willing to setup?

Thanks. I want to set up as a repeater. I have the Belkin in my office, and want to set up the repeater in my home in order to improve the signal.

Further to what I wrote a moment ago, the problem I have is that I can't access the programming necessary. When I enter the IP address in the browser called for in the instructions I get nothing. Apparently this is because a subnet IP address needs to be changed? Or something like that. At any rate, that is where I am in over my head. This is my last try before I ditch this Dlink machine and just buy the most powerful Belkin unit I can find. Would prefer to be able to use the dLink of course.

Link to comment
Share on other sites

dont give up yet, it shouldnt be too complicated, however, depending on the mode you chose, and i have overlooked that not being used to this kind of machines, instructions will be different (obviously). please post the router model.

in which area of bkk are you?

Link to comment
Share on other sites

dont give up yet, it shouldnt be too complicated, however, depending on the mode you chose, and i have overlooked that not being used to this kind of machines, instructions will be different (obviously). please post the router model.

in which area of bkk are you?

Router is a Belkin model F7D3402 v1. I live near Zeer Rangsit, not far from the junction of Vipavadi and Phaholyothin.

Link to comment
Share on other sites

Further to what I wrote a moment ago, the problem I have is that I can't access the programming necessary. When I enter the IP address in the browser called for in the instructions I get nothing.

connect directly to the repeater, keep your router out of the network and run route in a terminal. if the result is the same as what you posted earlier, just try to open 192.168.2.1 in your browser.

Link to comment
Share on other sites

Further to what I wrote a moment ago, the problem I have is that I can't access the programming necessary. When I enter the IP address in the browser called for in the instructions I get nothing.

connect directly to the repeater, keep your router out of the network and run route in a terminal. if the result is the same as what you posted earlier, just try to open 192.168.2.1 in your browser.

OK, will try that and let you know, thanks much!

Link to comment
Share on other sites

Further to what I wrote a moment ago, the problem I have is that I can't access the programming necessary. When I enter the IP address in the browser called for in the instructions I get nothing.

connect directly to the repeater, keep your router out of the network and run route in a terminal. if the result is the same as what you posted earlier, just try to open 192.168.2.1 in your browser.

OK, will try that and let you know, thanks much!

OK. I unplugged the router LAN from the computer and connected the repeater LAN. When I type in the URL above I get an internal communication error. When I run route I just get the headers below, no numbers:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

Link to comment
Share on other sites

Can you see the Belkin Wifi Access point with your computer?

If for some reason you got an refurbished unit, which still have previous settings, it might be worth to give the router an factory reset and start all over again. http://www.belkin.co...d=1564&scid=220

Reset the router to factory default

With the router powered on, use a small thin object to press and hold the reset button for exactly seven seconds. The router lights will flash and this will restore the router to factory default.

Connect your computer to one of the routers lan ports with an etherent cable. Open your web browser and navigate to 192.168.2.1. This should show the router status page with the default settings.

Link to comment
Share on other sites

Can you see the Belkin Wifi Access point with your computer?

If for some reason you got an refurbished unit, which still have previous settings, it might be worth to give the router an factory reset and start all over again. http://www.belkin.co...d=1564&scid=220

Reset the router to factory default

With the router powered on, use a small thin object to press and hold the reset button for exactly seven seconds. The router lights will flash and this will restore the router to factory default.

Connect your computer to one of the routers lan ports with an etherent cable. Open your web browser and navigate to 192.168.2.1. This should show the router status page with the default settings.

Hi Oilinki. Thanks for trying to help. The Belkin router works fine, and I can see it by typing in 192.168.2.1. The issue is getting the DLINK DAP-1360 installed to work as a repeater. The problem is that when I type in the URL for the repeater in my browser (per the instructions) the software I need in order to configure the dap-1360 doesn't open. I am using Ubuntu, so that complicates things I suppose. From what I have been told the issue revolves around my needing to change an IP address or subnet or ??. I am not exactly sure, and don't know how to do that in any case. I am sure that it is a task that someone proficient in Linux could do in their sleep, but for me it might as well be reverse polish notation :)

Link to comment
Share on other sites

Ah.. sorry. I miss read the thread.

For the first, try if simply using WPS buttons on both belkin and D-link works..

If not then proceed to following:

It seems that the d-link device does not give you an IP address. So the first step is to get that working.

If you can find instructions, do an factory reset for the device.. to be sure that there is no other settings messing the initial setup.

- power off / power on the router.

- Connect you PC to the router with LAN cable.

-> Check if you have an ip address and route (print the results here .. and use the <> code marks on the Thaivisa editor)

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:1d:72:92:44:b2
inet addr:10.1.2.11 Bcast:10.1.2.255 Mask:255.255.255.0
inet6 addr: fe80::21d:72ff:fe92:44b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8140 errors:0 dropped:0 overruns:0 frame:0
TX packets:9885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3101428 (3.1 MB) TX bytes:2664122 (2.6 MB)
Interrupt:20 Memory:fe000000-fe020000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:574 errors:0 dropped:0 overruns:0 frame:0
TX packets:574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:297395 (297.3 KB) TX bytes:297395 (297.3 KB)

# route -n

root@moon:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.2.1 0.0.0.0 UG 0 0 0 eth0
10.1.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

Check if there is Flags 'G' which means it's the default route.

Now if you still don't have the IP address and default route, you need to define it manually. We can assume that D-link

is using 192.168.0.50 IP address.

sudo ifconfig eth1 192.168.0.99 netmask 255.255.255.0

sudo route add default gw 192.168.0.50

After this try to ping the d-link with

ping 192.168.0.50

Add DNS settings to your PC.

sudo echo 'nameserver' >> /etc/resolv.conf

If you get results, you can try to connect to http://192.168.0.50/ or http://dlink.ap/

Link to comment
Share on other sites

Ah.. sorry. I miss read the thread.

For the first, try if simply using WPS buttons on both belkin and D-link works..

If not then proceed to following:

It seems that the d-link device does not give you an IP address. So the first step is to get that working.

If you can find instructions, do an factory reset for the device.. to be sure that there is no other settings messing the initial setup.

- power off / power on the router.

- Connect you PC to the router with LAN cable.

-> Check if you have an ip address and route (print the results here .. and use the <> code marks on the Thaivisa editor)

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:1d:72:92:44:b2
inet addr:10.1.2.11 Bcast:10.1.2.255 Mask:255.255.255.0
inet6 addr: fe80::21d:72ff:fe92:44b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8140 errors:0 dropped:0 overruns:0 frame:0
TX packets:9885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3101428 (3.1 MB) TX bytes:2664122 (2.6 MB)
Interrupt:20 Memory:fe000000-fe020000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:574 errors:0 dropped:0 overruns:0 frame:0
TX packets:574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:297395 (297.3 KB) TX bytes:297395 (297.3 KB)

# route -n

root@moon:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.2.1 0.0.0.0 UG 0 0 0 eth0
10.1.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

Check if there is Flags 'G' which means it's the default route.

Now if you still don't have the IP address and default route, you need to define it manually. We can assume that D-link

is using 192.168.0.50 IP address.

sudo ifconfig eth1 192.168.0.99 netmask 255.255.255.0

sudo route add default gw 192.168.0.50

After this try to ping the d-link with

ping 192.168.0.50

Add DNS settings to your PC.

sudo echo 'nameserver' >> /etc/resolv.conf

If you get results, you can try to connect to http://192.168.0.50/ or http://dlink.ap/

Thanks for taking the time to do that. I will try that out and let you know.

Link to comment
Share on other sites

Ah.. sorry. I miss read the thread.

For the first, try if simply using WPS buttons on both belkin and D-link works..

If not then proceed to following:

It seems that the d-link device does not give you an IP address. So the first step is to get that working.

If you can find instructions, do an factory reset for the device.. to be sure that there is no other settings messing the initial setup.

- power off / power on the router.

- Connect you PC to the router with LAN cable.

-> Check if you have an ip address and route (print the results here .. and use the <> code marks on the Thaivisa editor)

# ifconfig

eth0 Link encap:Ethernet HWaddr 00:1d:72:92:44:b2
inet addr:10.1.2.11 Bcast:10.1.2.255 Mask:255.255.255.0
inet6 addr: fe80::21d:72ff:fe92:44b2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8140 errors:0 dropped:0 overruns:0 frame:0
TX packets:9885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3101428 (3.1 MB) TX bytes:2664122 (2.6 MB)
Interrupt:20 Memory:fe000000-fe020000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:574 errors:0 dropped:0 overruns:0 frame:0
TX packets:574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:297395 (297.3 KB) TX bytes:297395 (297.3 KB)

# route -n

root@moon:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.2.1 0.0.0.0 UG 0 0 0 eth0
10.1.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

Check if there is Flags 'G' which means it's the default route.

Now if you still don't have the IP address and default route, you need to define it manually. We can assume that D-link

is using 192.168.0.50 IP address.

sudo ifconfig eth1 192.168.0.99 netmask 255.255.255.0

sudo route add default gw 192.168.0.50

After this try to ping the d-link with

ping 192.168.0.50

Add DNS settings to your PC.

sudo echo 'nameserver' >> /etc/resolv.conf

If you get results, you can try to connect to http://192.168.0.50/ or http://dlink.ap/

Thanks for taking the time to do that. I will try that out and let you know.

I connected the dlink lan to my computer, hit the reset button, and ran if config to get the following. I then ran route -n and get nothing but the headers.

if config
eth0	  Link encap:Ethernet  HWaddr 00:1c:c4:35:db:75 
	  UP BROADCAST MULTICAST  MTU:1500  Metric:1
	  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:1000
	  RX bytes:0 (0.0   TX bytes:0 (0.0 
	  Interrupt:19 Memory:f0180000-f01a0000
eth1	  Link encap:Ethernet  HWaddr 78:cd:8e:8d:29:d1 
	  inet6 addr: fe80::7acd:8eff:fe8d:29d1/64 Scope:Link
	  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  RX packets:94193 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:86120 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:1000
	  RX bytes:72003727 (72.0 MB)  TX bytes:15374175 (15.3 MB)
	  Interrupt:20 Base address:0x1100
lo	    Link encap:Local Loopback 
	  inet addr:127.0.0.1  Mask:255.0.0.0
	  inet6 addr: ::1/128 Scope:Host
	  UP LOOPBACK RUNNING  MTU:16436  Metric:1
	  RX packets:1266 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:1266 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0
	  RX bytes:37334 (37.3 KB)  TX bytes:37334 (37.3 KB)
Route:
qualtrough@qualtrough-desktop:~$ route -n
Kernel IP routing table
Destination	 Gateway		 Genmask		 Flags Metric Ref    Use Iface

Link to comment
Share on other sites

I'm a bit confused. Are you now using different computer to connect to the d-link than before?

Earlier ifconfig showed that you have eth1 network device when you got an IP address from the Belkin. Now on this you have both eth0 and eth1 (eg. 2 network cards).

what happens if you try to manually setup the IP-address and then do a ping?

sudo ifconfig eth1 192.168.0.99 netmask 255.255.255.0 ; ping 192.168.0.50

Link to comment
Share on other sites

I'm a bit confused. Are you now using different computer to connect to the d-link than before?

Earlier ifconfig showed that you have eth1 network device when you got an IP address from the Belkin. Now on this you have both eth0 and eth1 (eg. 2 network cards).

what happens if you try to manually setup the IP-address and then do a ping?

sudo ifconfig eth1 192.168.0.99 netmask 255.255.255.0 ; ping 192.168.0.50

Hello, no same computer. Maybe that was from the Belkin, not the Dlink? Let me try what you suggest.

Link to comment
Share on other sites

if you didnt solve your problem in the meantime and if you want, I can try to make this stuff work next saturday afternoon. my fees are pretty expensive however: one can of cold beer per diem ex. VAT. just let me know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.




×
×
  • Create New...