IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Need help connecting Linux box to DLink AP
I've got a DLink DWL 810+. I connected it to an old Linux box that was last connected directly to the router. The DLink isn't appearing in the Active MAC table for the router.

The docs for the DLink say that I need to configure it via the web interface, which is at 192.168.0.30. I can't ping that from the Linux box. Says "Network is unreachable". The Linux box is reporting its IP as 169.254.4.40. I try 'ifdown etho;ifup eth0' and it downs the interface, then tries a DHCPREQUEST which times out, and I no longer have an IP.

I'm sure I'm missing an easy step, but I don't know what it is. Any pointers?
--

Drew
New Re: Need help connecting Linux box to DLink AP
Manually put the Linux box on the same network as the AP (say, 192.168.0.50/24) and try again.

169.254.x.x is APIPA (automatic private IP addressing) range.
New How?
I thought I needed to, but don't know networking for fuck-all.

Nevermind, just looked it up.
--

Drew
Expand Edited by drook Dec. 29, 2009, 11:26:38 AM EST
New "Destination Host Unreachable"
I've got it set static to 192.168.0.50, still not seeing the DLink. And I just reset it to make sure it's got the factory IP.
--

Drew
New do a tcpdump -i eth0
you should see packets or your network to the PC is horked
New Re: "Destination Host Unreachable"
What Linux are you using?

anything ubuntu/debian

/etc/network/interfaces


auto eth0
iface eth0 inet static
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


That is how the static setup should be.

Once set, then:

ifdown eth0 ; ifup eth0

Then try and ping the device. Assuming you are plugging into it on a network/LAN port and not the WAN port.

Once there... you should be good.
New No joy
Still showing "Destination Host Unreachable". I'd really like to fix this before putting it back in their room so I don't have to do this again, but I think I'm reaching the yak shaving stage (http://sethgodin.typ...t_shave_that.html). I have a solution -- I don't like it, but it works -- and I have real work I need to do.
--

Drew
New Bleah.
I have a good sharp almost done knife... sharp enough to deform the tips of my left index finger...

Probably good enough for shaving!
New Have you learned anything?
Specifically, have you figured out how to do them in a reasonable amount of time? I really want to tell people about "this guy I know who makes crazy-high-end knives."
--

Drew
New sniff? high end sniff? :-)
New Uhhh ... say what?
That whooshing sound is whatever your point was clearing my head by a few feet.
--

Drew
New smelling an opportunity
New Nah, you wouldn't be interested
I takes too much hardware ... stuff you couldn't secure when you move under the bridge.
--

Drew
New tongs anvil couple of hammers and files
too heavy to carry away
New Well yes and yes.
Yes, its better to start with your bases covered rather than assuming its what you want.

Yes, I've discovered that certain pieces of materials aren't exactly what they are supposedly cracked up to be.

BUT... the process only will change at the suppliers side of things. He understand about clean up now. Will let me do the clean up rather than a quick splash with a belt sander.

But... it seems family stuff is getting in the way. If you'd answer your phone once in a while, we could talk about what you have to look forward too... :P

Well maybe not with your girls. Except the Wedding now being planned has sucked out $1K/month for the past two months and will continue to for the next 9 months (or longer) until its done.

Bleah.

Call me some time after 5PM eastern.. ok?
New Dude, I *never* answer the phone
Whenever Jenn tells me I got a call from you, if I've chatted with you here that day I assume it's covered. Sorry, bad assumption.

I'll give you a call.
--

Drew
New Naw, its fine.
Life has been tough the past month and a bit.

Its amazing at how much it throws at you, just when you think you'll have some time to get things together.
New that 169.x is what you get when the pc cant find a network
its a default put in by the nic so check basic connectivity
New Sounds familiar...
Is that a box I sent you long ago? IIRC, it was fairly easy to set up once you got the numbers set correctly.

Note that it's not a router, but a range extender or an Ethernet to WiFi bridge. Your router or wifi access point needs to be able to see it first, I think.

Maybe check the comments here (scroll down) - perhaps it'll help a little.

http://www.expansys.de/ft.aspx?k=7579

Good luck!

Cheers,
Scott.
New Yup, that's it
And step 6 is where it fails. With the computer using a static IP, and directly connected to the dwl-810, it doesn't respond to ping at 192.168.0.30. Any configuration steps after that are moot until I can connect to it.

I've punted on this and am about to move the computer so I can plug it directly into the router.
--

Drew
New Replugged it ... now how do I reach it (headless)?
The keyboard and monitor are still in the other room. I assumed, since I set up a static IP, that I'd be able to SSH into it as soon as it booted. No such luck.

So is there a way to reach it, or do I need to haul the monitor in, too?
--

Drew
New Did you check that sshd was installed?
And remember sshd can take a few minutes for to start up from cold-boot. It's quite late in the boot process, IIRC.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New Had it set up before
I ran this box headless for several weeks before moving it to the kids' room where it doesn't have a network connection. I suspect the problem is it's at 192.168.1.50, and the router I'm connected to is set to 192.168.2.1. So if I understand correctly, they're on different segments, and unable to talk to each other?
--

Drew
New Re: Had it set up before
Assuming a /24 netmask, your understanding is correct.
New Did the stupid, simple thing
I dragged the monitor and keyboard in from the other room and switched it to DHCP. I'm doing the backup, and will move everything back when it's done.

It still bugs me that I couldn't connect to the DLink. Maybe I'll try again while I have a connection and can research things faster than running from room-to-room.
--

Drew
New Good plan. :-)

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
     Need help connecting Linux box to DLink AP - (drook) - (25)
         Re: Need help connecting Linux box to DLink AP - (pwhysall) - (15)
             How? - (drook) - (14)
                 "Destination Host Unreachable" - (drook) - (13)
                     do a tcpdump -i eth0 - (boxley)
                     Re: "Destination Host Unreachable" - (folkert) - (11)
                         No joy - (drook) - (10)
                             Bleah. - (folkert) - (9)
                                 Have you learned anything? - (drook) - (8)
                                     sniff? high end sniff? :-) -NT - (boxley) - (4)
                                         Uhhh ... say what? - (drook) - (3)
                                             smelling an opportunity -NT - (boxley) - (2)
                                                 Nah, you wouldn't be interested - (drook) - (1)
                                                     tongs anvil couple of hammers and files - (boxley)
                                     Well yes and yes. - (folkert) - (2)
                                         Dude, I *never* answer the phone - (drook) - (1)
                                             Naw, its fine. - (folkert)
         that 169.x is what you get when the pc cant find a network - (boxley)
         Sounds familiar... - (Another Scott) - (1)
             Yup, that's it - (drook)
         Replugged it ... now how do I reach it (headless)? - (drook) - (5)
             Did you check that sshd was installed? - (static) - (4)
                 Had it set up before - (drook) - (3)
                     Re: Had it set up before - (pwhysall) - (2)
                         Did the stupid, simple thing - (drook) - (1)
                             Good plan. :-) -NT - (static)

I like working for this guy.
He calls himself my towel boy.
He knows how to motivate me.
179 ms