|
WormFood: it WAS working with my WTR54G, then for no reason, it just quit working one day
WormFood: and that is not a typo...WTR54G, NOT a WRT54G
AStorm: WormFood: remove conn and readd it
WormFood: AStorm, that does not work
AStorm: here it did
KotCzarny: what's a wtr54g?
lcuk: does the ap work for other devices
KotCzarny: o.O
WormFood: it won't even work if I give it a static IP, because it won't work with the default gateway
AStorm: let the router expire the session first
AStorm: or remoove it
WormFood: the routers have been rebooted
WormFood: there is no way it is holding an old session
AStorm: and the conn removed?
KotCzarny: they can store cache anyway..
AStorm: ya
WormFood: KotCzarny, it is a travel router...check it out
KotCzarny: if /var is on flash
AStorm: dhclient pwns udhcp
AStorm: I want a build
johnx: WormFood, maybe set it to static in the GUI connection manager and run udhcpc from the command line to debug?
WormFood: I have reflashed my N800 with the latest OS2008 because my unit does not turn on many times
WormFood: I shouldn't have to debug it, it should work out of the box
AStorm: WormFood: there's a fix for that in new kernel
AStorm: oscillator problem
WormFood: yes, I know...that is why I upgraded
WormFood: that is why downgrading is so painful for me
johnx: WormFood, do you want our help debugging or do you just want to complain to us?
WormFood: the first time I had that problem was on a 15 hour airplane flight
johnx: the latest firmware 51-3 does not change anything besides the bootloader compared to 50-2, so it probably isn't the problem
WormFood: johnx, I just want it to work....I'll debug it if I need to, but I really don't want to
WormFood: yeah, I know, the newest was nothing more than the bootloader, but I was hoping they fixed something else in it, and just didn't report it....so much for hoping
KotCzarny: wormfood, it probably generates some logs..
KotCzarny: or not
KotCzarny: :)
WormFood: I have much better things to do with my time than to debug this....but I will debug it if that is what it takes
KotCzarny: i think syslog is needed
WormFood: I rather doubt it generates logs....but I could be wrong....I was wrong once before
WormFood: but then found out I was mistaken
johnx: WormFood, just make the connection static and run udhcpc -i wlan0 from the CLI...it's not that bad
lcuk: wormfood - it does work out of the box - n800 was designed and supplied with os2007
KotCzarny: try running udhcpc by hand?
WormFood: lcuk, actually, I downgraded to OS2007 last night, and while it claims to get an IP, it also does not work
WormFood: KotCzarny, no...because every time it claims it can't get an IP, I can't use the CLI on it
johnx: WormFood, I know you think it's the N800 but I have had similar weird experiences with routers
WormFood: I would use SSH, but it is hard when I can't get an IP
lcuk: do other devices connected to the ap have problems?
WormFood: I think the N800 is defective
WormFood: no, of course not, everything else works perfectly when connected to these routers
johnx: then ask Nokia for an RMA...
WormFood: an RMA will be very hard for me
KotCzarny: o.O
WormFood: I'm in China
johnx: but if you are willing to pull up "X terminal" for like 10 seconds you could be sure
WormFood: my receipt for my N800 is in Florida
WormFood: johnx, most of the time it tells me that wlan0 does not exist (even when I can see it with iwconfig and ifconfig)
lcuk: never had to enter console ever to play with router settings :S
johnx: lcuk, obviously you lead a blessed existence...
KotCzarny: too
johnx: WormFood, also, why did you say a static IP address wasn't working?
lcuk: i just believe in the simplest approach
KotCzarny: openwrt is quite nice in this area
KotCzarny: :)
WormFood: I set the static IP, but I still can't reach the internet
KotCzarny: hmm
WormFood: it appears to not be setting the default gatway
WormFood: gateway
KotCzarny: maybe it's burnt?
KotCzarny: route -n ?
lcuk: fill gateway with router address
KotCzarny: use pc's dhcp?
lcuk: cos - that IS your gateway - its not the one your isp provides
KotCzarny: ie. run dhcpd on lin/win ?
WormFood: I should not need to do that
KotCzarny: try first
WormFood: it should work out of the box
KotCzarny: if it solves the problem
KotCzarny: then you will know it's something about router/udhcpc
johnx: KotCzarny, running dhcpd on different box is probably a little more than is necessary for this
WormFood: it is NOT a problem with the router, the problem is on the N800
Tama^2: WormFood: if you set a static IP address then no device will be able to figure out what the default GW is unless you tell it
johnx: WormFood, what kind of signal are you getting on the N800?
lcuk: worm - are you leaving the gateway blank? if so just try putting the router ip into it
WormFood: if I have to carry around my laptop to use the N800, I just won't use the N800 at all
KotCzarny: johnx: checking different solutions helps finding the source
KotCzarny: of the problems
WormFood: johnx, I'm sitting next to the AP, I get full signal
WormFood: Tama^2, I know what the default gateway is on the router here
KotCzarny: wormfood: run tcpdump and see if n800 transmits anything?
WormFood: setting a static IP is not a viable solution for random APs when I'm out and about
johnx: WormFood, have you tried the N800 on any other AP?
lcuk: no, but lets just see if it can work now
AStorm: hehe
lcuk: proving a single case will test the electronics
WormFood: as soon as I connect my laptop to a wired connection, I will run wireshark and/or kismet
AStorm: it's because of udhcp having random mood
lcuk: at home i need to set fixed ips at work its automatic
WormFood: johnx, any time I am somewhere for a very short period of time (like waiting for the bus) it works
WormFood: anytime I'm somewhere for a few hours or a few days, it does not work
WormFood: I swear this thing has a "critical use detector" in it
johnx: heh
lcuk: well, now we know what free hardware it has ;)
WormFood: oh yeah
WormFood: and another thing
WormFood: when I enable encryption on my WTR54G, then my N800 will work
WormFood: as soon as I disable encryption it will not get an IP
johnx: ahh...that is interesting
WormFood: very
lcuk: so hang on here - you are shouting long and hard about it not working, but you already have a way to get it working
WormFood: because it makes no god damn sense
AStorm: I've to wire light-detect with some app
WormFood: no I do not have a way to get it working
AStorm: maybe alarm?
WormFood: how do I use it at the bus stop?
AStorm: to wire me to light cycle
johnx: you said it works at the bus stop...
AStorm: :P
WormFood: I can't go around changing people's APs
KotCzarny: :>
WormFood: sometimes
lcuk: different routers are a different issue
AStorm: nah, counterproductive
WormFood: it is completely random where it does not work
lcuk: >>> at home i need to set fixed ips at work its automatic <<<
AStorm: ya
WormFood: IT NEVER HAD THIS PROBLEM FOR THE FIRST MONTH I HAD IT
AStorm: it's udhcp being fail
WormFood: I mean NEVER had this problem
lcuk: lol @ gettin irate
WormFood: it connected to everything just fine
AStorm: WormFood: just lucky
KotCzarny: astorm: https://garage.maemo.org/projects/os2008pl/
KotCzarny: :)
lcuk: which busstop does it work from?
AStorm: KotCzarny: !!!
AStorm: :D:D:D
KotCzarny: Registered: 2008-03-02 01:38
KotCzarny: have you ever looked at garage.maemo.org ?
KotCzarny: :)
johnx: WormFood, usually the places where mine won't pick up an IP address from dhcp are places where it is close to out of range
AStorm: not for that
KotCzarny: :)
johnx: or where I'm getting lots of interference
KotCzarny: yeah, i just like to browse at random
WormFood: johnx, this is not even close to being out of range
KotCzarny: https://garage.maemo.org/projects/freeciv/
KotCzarny: who asked about freeciv?
AStorm: blah trans
AStorm: need locale and keymap
WormFood: lcuk, it works form some random bus stop in Shenzhen
WormFood: the one under the bridge
KotCzarny: astorm: maybe it has those too
WormFood: you know which one I'm talking about? ;)
lcuk: wicked - when im passing ill remember :D
AStorm: wrong country then
WormFood: I set a static IP and it STILL won't connect
WormFood: route -n shows the right gateway
lcuk: ok, so you flashed your device then set about forcing it to get an ip on your specific router - no doubt you delved deep and tweaked something or other to check. i personally think if you reset to defaults, use encryption at home and forget about it being a problem you will have more luck
AStorm: check if interface is up
johnx: alright, can you ping the gateway?
AStorm: and has an ip set
lcuk: tsince the busstop router is out of your control you cannot know that THEY didnt lock it down or disable ip
lopz: re
WormFood: yup, ping the gateway just fine
WormFood: lcuk, that is NOT a solution
johnx: from the N800? can you ping google from the N800?
WormFood: I did not buy this to use at home
WormFood: resolv.conf is not getting set properly now
lcuk: ok - lets move this foreward - at home you can get it to work and save details in its connection. out roaming - take 2 devices. check if both of them connect and get ips
johnx: WormFood, the tablet uses dnsmasq for DNS
WormFood: so, no, I can't ping google from their dns name
WormFood: lcuk, yes, my laptop connects, the N800 does not
AStorm: WormFood: want dns addr?
AStorm: ya, udhcp suckage
WormFood: I can ping my server on the internet when I use the IP address
WormFood: DNS will not resolve
lcuk: set DNS to router then as well
johnx: WormFood, cat /tmp/resolv.conf.wlan0 and tell me if it is correct
Jsn0327: does anyone know if there is a smb file share browser for os2008?
KotCzarny: yes
johnx: Jsn0327, it's built in, but it can't access password protected shares
Jsn0327: hmm
lcuk: bss aackwards
AStorm: blah
Jsn0327: is there a add-on for the password protected shares?
WormFood: if I edit /etc/resolv.conf, it works
AStorm: nio, it's a bug
Jsn0327: or another app to access them?
AStorm: Jsn0327: no
johnx: WormFood, is the DNS set in /tmp/resolv.conf.wlan0 correct?
AStorm: it's buggy
WormFood: johnx, it is blank
WormFood: the file exists, it is just empty
lcuk: astorm - i thought you could do some magic and make a symlink
lcuk: waves his hands about a bit
johnx: alright, and you set the correct DNS in the GUI of course?
WormFood: I didn't see any dns setting in the gui
AStorm: lcuk: talking about smb?
johnx: WormFood, aaaaah
lcuk: probably
johnx: I'll need to dig it up for you, since I just use dhcp here
johnx: gimme a sec
WormFood: looking for it again
WormFood: maybe I overlooked it
lcuk: its the advanced button on the last page
lcuk: i think
lcuk: connection wizard
WormFood: awww fuck! I overlooked it
WormFood: because when I go to edit it, it moves the dns off the page
KotCzarny: hehe
lcuk: thinks back to his "simple approach"
WormFood: they killed dns, those fuckin' bastards!
KotCzarny: :)
WormFood: ok, now I can surf the web with a static IP
WormFood: BUT THAT STILL DOES NOT SOVE THE PROBLEM
johnx: yeah but it PROVES THE HARDWARE ISN"T BROKEN
WormFood: how the fuck do I get dhcp to work now?
AStorm: KotCzarny: where do i get pl regional settings?
WormFood: I know the hardware isn't broken
GeneralAntilles: Haha, thank you, johnx. <_<
lcuk: when you have another ap to connect to just try and keep it simple and it may be configured to allow dhcp :)
lcuk: i have one connection thats static and one fixed - i never bothered to check why or diagnose i just got on with using them
lcuk: static + dynamic..
KotCzarny: 1st link in google
AStorm: is almost asleep
WormFood: this is fuckin' crazy
WormFood: I run "udhcpc -i wlan0" and I get "Sending discover..." a few times, then....
johnx: is in suspense...
KotCzarny: wormfood: tcpdump
KotCzarny: :P)
WormFood: lease failed:
WormFood: zeroconf: address selected is 169.254.33.52
KotCzarny: yah.
AStorm: KotCzarny: you fail, it's udp
KotCzarny: zeroconf sux.
WormFood: another zeroconf line
KotCzarny: astorm: so what? udp is sniffable too
WormFood: then "bogus packet, options field is too long"
AStorm: but not with tcpdump
AStorm: ya, udhcp breakage
AStorm: you need a better dhcp client
KotCzarny: astorm: i have debugged dhcp with tcpdump
KotCzarny: many times
KotCzarny: anyway, have you looked at the link?
AStorm: it mishandles DHCPNAKs
AStorm: looking...
WormFood: so it is clear to me, that we need a "new" dhcp client on the n800 to make it work
KotCzarny: just compile/install it
KotCzarny: and modify scripts
lcuk: how come it works on mine though?
KotCzarny: or just name it udhcpc
KotCzarny: lcuk: your dhcpd behaves
KotCzarny: ;)
johnx: hmm...I wonder which one is not following spec, his WTR54G or udhcpc
KotCzarny: i bet on wtr
KotCzarny: :)
johnx: yeah, linksys has made some truly craptastic firmware through the years
WormFood: maybe I should trade my N800 for one of these http://www.pmptoday.com/2008/01/07/pmpphone-from-somewhere-most-likely-china-looks-like-upmc-has-two-cameras/
WormFood: johnx, I don't even have my router with me
WormFood: I'm using a "TP-LINK" router right now
johnx: ah
AStorm: KotCzarny: now i need a ukeyboard layout for de keyboard
AStorm: :)
KotCzarny: looks like a n800 copy
KotCzarny: :>
WormFood: Like I said...if I will be somewhere for a few hours or more, I can't get an IP address
WormFood: if I'm just passing through for a few minutes, it gets an IP just fine
WormFood: it is infuriating!
AStorm: WormFood: these are junk
KotCzarny: wormfood: it's open source, it's fixable
AStorm: non-linux?
WormFood: I swear I'm about ready to slam this piece of shit on the floor, and crush it under the heel of my foot
AStorm: WormFood: find a dhclient package
GeneralAntilles: Trade it, please, WormFood. :)
AStorm: then hack things to use that
lcuk: WormFood, spare your 800 - mail it to me - ill pay postage
KotCzarny: hehe
johnx: WormFood, want me to try and help you work around it?
WormFood: johnx, only if it really works and gets an IP address from the dhcp server
WormFood: I don't want a "set a static IP solution"
AStorm: WormFood: sw problem
Tama^2: I do not get why people would be willing to provide assistance when such attitude is displayed
AStorm: as I said
johnx: are you willing to test some stuff then, even though I'm not sure this will work? and are you willing to not SHOUT if it doesn't work?
AStorm: we need a dhclient
lcuk: actually, WormFood you might be better getting a different device. you want dependable, reliable hardware which works everywhere in a random environment - good luck with your search
KotCzarny: iphone?
KotCzarny: ;)
GeneralAntilles: Amen, Tama^2.
AStorm: From ISC DHCP package
WormFood: lcuk, this did work before, it just isn't working now....it makes no sense
KotCzarny: wormfood: because you fiddled with it
AStorm: WormFood: makes
lcuk: but you are using a crappy router and have options available to fix them without having to install anything
KotCzarny: reflash!
johnx: WormFood, I'm still giving this even odds that it's actually your router doing something funny
WormFood: johnx, I don't have time to test this now, I have to leave soon....but yes, I'm willing to test it and work with it
AStorm: after the lease is expired, router sends NAKs
AStorm: for the old address
WormFood: KotCzarny, no, it is not because I fiddled with it....I'm a user on this, not a hacker on this
lcuk: out of the box now without installing anything you have connected
AStorm: and udhcp chokes on these
KotCzarny: user is worse than hacker
WormFood: I have not done anything to make this not work
WormFood: I even reloaded the firmware
AStorm: WormFood: ya not reading
johnx: WormFood, I'm still giving this even odds that it's actually your router doing something funny...
AStorm: ignoring me or what?
WormFood: AStorm, there is no expired lease
lcuk: but you are a hacker anyway - you run kismit
AStorm: wirm: there is a stored lease of udhcp
WormFood: lcuk, yes, I'm a hacker...but I did not get the n800 to hack
AStorm: WormFood: ^
lcuk: then take it back and get an iphone
WormFood: AStorm, on a fresh firmware reload?
AStorm: you have to expire the lease and remove the connection
AStorm: WormFood: router
WormFood: I was never able to get an address from the router
AStorm: needs but a one bad connection
AStorm: udhcp will store it
WormFood: I reboot the router and it still does not get an IP
AStorm: too late
AStorm: first remove conn
WormFood: then how does that explain why it does not work with a random AP when I'm out and about?
AStorm: then flush the router
AStorm: then connect
AStorm: same reason
AStorm: tries an addr and gets a NAK
johnx: also different problems often have different causes
AStorm: happens with some routers which are dumb
WormFood: I seriously doubt my router is the root of the problem
AStorm: probably not
WormFood: ok, I deleted my connection, and I still can't get an IP
AStorm: udhcp brokenness is
KotCzarny: or both
KotCzarny: :)
lcuk: WormFood, is it at all possible that the routers you are connecting to are not giving out dhcp... or that they are private residential routers leaking data
WormFood: yes, I'm sure it is udhcp is broken
johnx: AStorm, is this a WONTFIX from the udhcpc guys?
AStorm: WormFood: and didn't flush sessions? Fail!
AStorm: johnx: who?
WormFood: lcuk, I guarantee the ones I'm having problems with are working and sending out dhcp info
AStorm: it has no devs afaicr
WormFood: because I connect with my laptop just fine
johnx: AStorm, so you're saying udhcpc is unmaintained?
WormFood: my laptop and other devices connect just fine...but not the n800
WormFood: it appears that way johnx
AStorm: WormFood: and it uses Isc dhcp which only sends naks in nonauthoritative mode
AStorm: johnx: most likely
AStorm: or almost
AStorm: WormFood: I know the bug
johnx: goes off to see if anyone has patched this...
AStorm: it is the same on other machines
AStorm: johnx: gentoo doesn't have the patch...
AStorm: I guess no one has
AStorm: need dhclient
johnx: yeah...looking back I was probably running into this with my zaurus in 2004 or so...
johnx: it would be easier to wedge a new udhcpc in place rather than replace it with dhclient, though
AStorm: not much
WormFood: I don't ever remember my Zaurus having this type of problem
AStorm: just a few scripts to be tweaked afaicr
AStorm: WormFood: lucky
johnx: WormFood, which firmware did you use?
WormFood: now to be honest, I didn't try to use my Z everywhere
johnx: also keep in mind that I have been using my N800 all over the place and never ran into this problem
AStorm: it is fairly random
AStorm: you need to move a subnet
AStorm: that is, move froman unknown lease range
AStorm: unknown to the server
AStorm: then udhcp asks for it
AStorm: and gets NAKs correctly
johnx: AStorm, I'm seeing something relating to DHCPNAK in Debian's patch, but I'll have to look more thoroughly...
AStorm: but drops the packets it they have some opions
AStorm: ... :L
AStorm: :)
AStorm: options, even
AStorm: e.g. if it sends proper subnet data
AStorm: (dhcp std. doesn't specify that and doesn't forbid)
KotCzarny: mrrau.dyndns.org:23280/dhclient.gz
KotCzarny: :)
AStorm: hehe
AStorm: 404
AStorm: and make a deb
KotCzarny: 404?
KotCzarny: this cannot be
KotCzarny: ahm.
KotCzarny: mrrau.dyndns.org:23280/n800/dhclient.gz
KotCzarny: sorry :)
AStorm: haha
AStorm: bad mime types
AStorm: :P
Proteous: bad mime, bad mime!
AStorm: yeah, killer mimes
lcuk: its not mime, its yours
Proteous: there's no mime like no mimes
KotCzarny: text/plain, interesting
lcuk: WARNING: mime field.
Proteous: heh
AStorm: lolä
KotCzarny: but i believe it's because no other extension other than .gz
AStorm: reminds me of a dexter's lab
Proteous: text/plain is not interesting at all, if fact it couldn't get any more boring
AStorm: with mimes
Proteous: it is a maximum boringness already
KotCzarny: yup. adding .exe.gz made it proper
KotCzarny: hehe
WormFood: ok, I need to go now. thanks for your help guys...I'll be back later
AStorm: application/octet-stream is more boring
johnx: sure, just remember to leave the CAPS at home. :P
KotCzarny: wormfood: get your dhclient.gz with you!
AStorm: KotCzarny: make it a deb
johnx: I wonder if there is a way to hack around this with udhcpc by deleting the old lease if it and recalling udhcpc automatically if it fails...
johnx: s/if it a/if it gets a DHCPNAK a/g
infobot: johnx meant: I wonder if there is a way to hack around this with udhcpc by deleting the old lease if it gets a DHCPNAK and recalling udhcpc automatically if it fails...
AStorm: can't find the lease :P
johnx: I found the scripts it calls on a nak and on lease fail at least...
AStorm: it keeps them... somewhere
johnx: it should keep the lease in var I would think...
GeneralAntilles: Talk about investing a lot of time in a bad attitude. :\
AStorm: brb
johnx: GeneralAntilles, actually this has probably caused me problems at public access points, but I always figured I was close to out of range...
jott: johnx: the source is with you! it sourrounds us and penetrates us! :)
johnx: jott, with any luck I can just slap a quick fix in udhcpc.leasefail and all it done. :D
AStorm: no
KotCzarny: johnx: ga is a troll with a bad attitude himself
KotCzarny: :>
AStorm: the bug is in the client
AStorm: you can at most hack nit around
johnx: AStorm, yeah, but if I have udhcpc.leasefail delete the old lease and call udhcpc again
johnx: not really a fix admittedly, but it should work for my purposes
jott: hehe infinite recursion? :)
WormFood: anything that makes it actually work would be acceptable
johnx: eh...I can just check for that in the script
WormFood: this problem affects a LOT of people
AStorm: where is the file?
KotCzarny: finds having nails is usefull with IT
johnx: I don't know... O_o
AStorm: getting the bug here reliably
AStorm: vs my router
johnx: ah, good
AStorm: and not vs my laptop (isc dhcp)
KotCzarny: astorm: did dhclient worked?
AStorm: checking
KotCzarny: it may be missing some scripts
KotCzarny: also watch out
KotCzarny: resolv.conf points to localhost
KotCzarny: probably for dnsmasq
KotCzarny: :)
AStorm: you tried to root me
AStorm: I'll kill,you now
KotCzarny: nah
KotCzarny: just remembered default dhclient behaviour
KotCzarny: :)
AStorm: hehe
KotCzarny: otoh udhcpc will overwrite them too
KotCzarny: so it's not a big deal
KotCzarny: :)
AStorm: heh
AStorm: have to tgest it again
KotCzarny: sucks maps
AStorm: blah!
AStorm: can'tg grab proper dhclient then
AStorm: wait a while
KotCzarny: mm?
KotCzarny: wget
KotCzarny: :)
AStorm: no worky
KotCzarny: then it's not a client problem?
AStorm: server
KotCzarny: mine?
AStorm: can't connect :P
AStorm: too much load now
KotCzarny: i'll stop maemo-maddness
AStorm: use mapdownloader next time
KotCzarny: now
AStorm: no cpu rape that way
KotCzarny: do they use same format?
AStorm: grabbed
lcuk: heh - this kind of bandwidth problem is why i would prefer a remote server
AStorm: KotCzarny: ya, same libs
KotCzarny: libs?
WorkingOnWise: anyone know how much space abiword takes with all its dependencise?
KotCzarny: wow: much
KotCzarny: mostly because of gnome deps
WorkingOnWise: over 30?
KotCzarny: shrugs
WorkingOnWise: gnome?
WorkingOnWise: omg
WorkingOnWise: it's gotta be huge
KotCzarny: not all of them of course
KotCzarny: ~4-7
lcuk: WorkingOnWise, i think there is a light version from the indt people but im not sure of its stability
jott: who cares about 30mb? :P
GeneralAntilles: People booting from the internal flash. :P
WorkingOnWise: lol...until I get my 8gb SDHC, I do
WorkingOnWise: yup
AStorm: hmm, wrong
WorkingOnWise: where can I find a n00b worthy howto on getting ext3 suppoer from boot? I want to use ext3 as the fs on mt sd card when I clone.
WorkingOnWise: support
|
|

