[00:00] <ToR\L> an aliased interface in linux is like a secondary in cisco
[00:00] <ToR\L> ifconfig vlan1:1 IP down
[00:00] <Marta> yes
[00:00] <Marta> my other ip is 192.168.1.100
[00:00] <donlaverty> marta: most time that error-message is caused by a faulty arp entry - you can delete that by arp -d ( i think ) but it is written in the troubleshooting page too
[00:01] <donlaverty> ( someone mentioned it earlier )
[00:01] <ToR\L> think he turned the wrong one down
[00:01] <ToR\L> ;)
[00:01] <Marta> ok
[00:01] <Eagle_Fire> uh oes
[00:02] <ToR\L> turned the wrong one down? :)
[00:02] <Semhirage> ack
[00:02] <ToR\L> Semhirage: how can your isp only give you two ips? are they in the same range?
[00:02] <Semhirage> that was not kewl
[00:02] <Semhirage> that was not kewl at fucking all
[00:02] Action: Semhirage is staying away from aliases
[00:02] <Semhirage> no turned the right one down
[00:02] <Semhirage> something didn't like it though
[00:02] <swim> hmm so I have two choices of firmwares for thw wrt54g the jiffs2.bin or the squashfs.bin ?
[00:03] <Semhirage> first 3 octets are the same
[00:03] <ToR\L> whats your subnet mask?
[00:03] <Semhirage> then i have .81 and .178
[00:03] <Semhirage> subnet mask 255.255.255.0
[00:03] <ToR\L> ouch
[00:03] <ToR\L> they must filter just those 2 out to you
[00:03] <Eagle_Fire> that's just asking for a bridgy solution
[00:03] <Semhirage> it works well enough
[00:04] <Semhirage> although the bridging solution is looking better and better
[00:04] <Semhirage> =P
[00:04] <ToR\L> aliasing two ips to the same interface in the same range, doesn't mess up your routing table and just associates 1 mac addy with two ips
[00:04] <ToR\L> should work just fine
[00:04] <Semhirage> normally it does
[00:04] <Semhirage> when i had it coming into just my server, worked fine
[00:04] <donlaverty> marta: you can try to disconnect the pc you use to flash the device for some time, than connect, plug in , then push the firmware
[00:04] <ToR\L> well the box is just linux
[00:04] <Semhirage> but it put some nasty overhead on the server
[00:05] <ToR\L> an alias put overhead on the server?
[00:05] <ToR\L> is it a 33mhz 486?
[00:05] <Semhirage> 400mhz k6-2
[00:05] <Semhirage> =P
[00:06] <Eagle_Fire> damn, aren't those heatbeasts
[00:06] <ToR\L> I think it depends on how your isp routes those ips out to you
[00:06] <ToR\L> what kinda connection is it?
[00:07] <Semhirage> speakeasy onelink dsl
[00:07] <Semhirage> no dhcp
[00:07] <ToR\L> giving you two ips in a /24 with that much space in between is dumb
[00:07] <Semhirage> bridged connection
[00:07] <ToR\L> you live out near oregon?
[00:07] <Semhirage> hell no
[00:07] <Semhirage> lol
[00:07] <ToR\L> a friend of mine used to work for speakeasy in oregon
[00:07] <donlaverty> anyone here who uses tc?
[00:07] <Semhirage> mke WI
[00:07] <ToR\L> ahh
[00:07] <[mbm]> ToR\L: you could, but why?
[00:07] <ToR\L> bridged dsl connections are a pain
[00:08] <ToR\L> [mbm]: my point exactly
[00:08] <ToR\L> its like route out a /24 to a switch you're on, and filter everything but 81 and 178
[00:08] <ToR\L> kinda a dumb way to do it
[00:09] <ToR\L> I woulda said, here's a /29 have fun or at least do pppoe and radius or something
[00:10] <Eagle_Fire> i'm sure they had a reason to do it that way
[00:12] <ToR\L> is there qos in this whiterussian?
[00:12] <ToR\L> I'm still running one fom may 25th
[00:12] <ToR\L> I should say, is there qos packages available for whiterussian, latest ver
[00:13] <Semhirage> is it my correct understanding that all scripts in /etc/init.d/ are executed on startup?
[00:14] <DeltaF> yes
[00:14] <ToR\L> I sure hope so
[00:14] <ToR\L> ;oD
[00:14] <DeltaF> ;)
[00:14] <Semhirage> -_-
[00:14] <Semhirage> smartasses
[00:14] <Semhirage> im used to having to set which inits are run based on runlevel
[00:15] <Eagle_Fire> i think it's anything matching S[0-9][0-9]*
[00:15] <Semhirage> ahh ok
[00:15] <Eagle_Fire> in the order of the numbers
[00:15] <DeltaF> at least you aren't a complete newb then...
[00:15] <DeltaF> rcS starts it going
[00:15] <Semhirage> right
[00:15] <Semhirage> ok it makes sense now
[00:15] <Semhirage> should be easy enough to write up a bridge script for my interface then
[00:16] <Semhirage> put it in right after S40network
[00:16] <Eagle_Fire> best of luck
[00:16] <Eagle_Fire> it might confuse S45firewall
[00:16] <Eagle_Fire> but you'll have to rethink the firewall anyhow
[00:16] <Semhirage> heh, firewalls scripts can be h4ked
[00:19] <DeltaF> you know about how it bridges now, right?
[00:20] <DeltaF> with nvram entries etc.
[00:20] <gzp> yo guys. I have a senao 3054cb3deluxe ap with a weird problem. After making high traffic (downloading something, or measuring the bandwidth) the lan part freezes and ap stops responding to the lan while i still can ping the ap via wireless. Only an ap reboot helps. Well, tried with different cards, clients, network cables, switches, always the same result. I'm able to reproduce the problem within a few secs. This annoys me a lot, and would like buy
[00:20] <Eagle_Fire> bu?
[00:21] <Eagle_Fire> i think i heard of a porblem like this that was solved by overclocking the router
[00:21] <gzp> how?
[00:21] <gzp> tried several older firmwares too
[00:22] <DeltaF> which ap you have?
[00:22] <DeltaF> wrt?
[00:22] <gzp> senao 3054cb3 plus deluxe
[00:22] <Eagle_Fire> deltaf, you're inattentive
[00:22] <DeltaF> i thought I misunderstood..
[00:22] <fishhead> http://www.theinquirer.net/?article=25496
[00:23] <DeltaF> the wrt54g v2.2 and v2 were the ones with the overclock issue.
[00:23] <ToR\L> hey those are both of mine
[00:23] <crashev> what overlock issue?
[00:24] <DeltaF> i've never heard of senao
[00:24] <ToR\L> ya know I've never had that prob
[00:24] <Eagle_Fire> where the driver couldn't handle a lot of traffic at the speed it was at
[00:24] <Eagle_Fire> so it needed more oomph
[00:24] <DeltaF> the high load bug
[00:24] <ToR\L> but I don't use all the wan ports
[00:24] <ToR\L> I have a switch plugged into one of the lan ports
[00:24] <DeltaF> upping clock to 216 fixed it.
[00:24] <ToR\L> so most of my traffic never hits the router
[00:24] <ToR\L> and I barely use wirelses
[00:25] <Eagle_Fire> that's probably why you don't hit it
[00:25] <ToR\L> hehe
[00:25] <Eagle_Fire> and why women don't like you
[00:28] <gzp> so, any recommendation for a good ap?
[00:29] <DeltaF> what are you doing with it?
[00:29] <DeltaF> wrt54g is cheap and standard
[00:29] <DeltaF> better support around here...
[00:29] <gzp> but i don't want the wan part
[00:30] <Eagle_Fire> wrts have configurable ports
[00:30] <DeltaF> the wan is just a regular port
[00:30] <Eagle_Fire> if you don't want a wan port you can reconfigure it to be a lan port
[00:30] <gzp> using custom firmware?
[00:30] <Eagle_Fire> or a pan port
[00:30] <Eagle_Fire> using OpenWRT
[00:30] <DeltaF> (farther from the rest :)
[00:30] <gzp> what is pan?
[00:30] <Eagle_Fire> a joke, don't mind it
[00:31] <gzp> like pussy area :-)
[00:31] Action: DeltaF missed it too..
[00:31] <Eagle_Fire> anyways
[00:32] <DeltaF> so yeah. no wan no prob
[00:32] Action: TheMystic heads home
[00:32] <DeltaF> vlan by port, if you want.
[00:33] <gzp> thats the easyeast ap around?
[00:33] <gzp> i would like connect only one client
[00:33] <gzp> to my lan
[00:33] <TheMystic> err, sorry about that, wrong channel
[00:33] <DeltaF> best support from openwrt, i'd imagine.
[00:33] <gzp> within an apartmen
[00:33] <Eagle_Fire> well
[00:33] <Eagle_Fire> if all you want is a dumb ap
[00:34] <Eagle_Fire> then get the cheapest one you can find
[00:34] <Eagle_Fire> because they'll all do that much
[00:34] <gzp> my router is a laptop, so I like the other solutions
[00:34] <DeltaF> do you already have a router?
[00:34] <gzp> using my custom linux in ram as os
[00:35] <DeltaF> unless you want to customize it a la linux, you have many choices.
[00:35] <gzp> i would be happy with something x86 compatible solution anyway
[00:35] Action: fishhead bbl
[00:35] <gzp> connect something to my laptop
[00:35] <DeltaF> if you want openwrt, check the wiki for compatible hardware.
[00:35] <DeltaF> x86 compatible how?
[00:35] <Eagle_Fire> openwrt is great for running as a router
[00:36] <Eagle_Fire> it's very low power consumption too
[00:36] <DeltaF> very.
[00:36] <gzp> my notebook uses 2kW/month
[00:36] <Eagle_Fire> you mean 2 kWh/month?
[00:37] <gzp> y
[00:37] <DeltaF> wrt's use about 17w, right?
[00:37] <DeltaF> lower with altered ps
[00:37] <Eagle_Fire> 17w maximum
[00:37] <Eagle_Fire> average power consumption is somewhere around 8-10w
[00:38] <donlaverty> Deltaf: altered what?
[00:38] <Eagle_Fire> power supply
[00:38] <DeltaF> power supply
[00:38] <Eagle_Fire> jinx!
[00:38] <donlaverty> Deltaf: thx
[00:38] <DeltaF> i'm typing on a zipit, what's your excuse ? :)
[00:39] <gzp> so best would be buying a wrt54g?
[00:39] <Eagle_Fire> typing with one hand?
[00:39] <Eagle_Fire> gzp, motorola wr850g's are cheap, $30
[00:40] <gzp> i can't buy motorola, i'm in hungary
[00:40] <gzp> i have access to asus and linksys
[00:40] <Eagle_Fire> there you go then
[00:40] <gzp> k, some question then
[00:40] <DeltaF> doesn't the asus have usb...
[00:40] <gzp> the bin firmware can be edited before flashing?
[00:40] <Eagle_Fire> asus wl500g and wl500gd/gx have usb
[00:41] <Eagle_Fire> gzp, you can compile the whole thing yourself
[00:41] <gzp> or how can I customise the router?
[00:41] <DeltaF> nice extra if you want to play..
[00:41] <Eagle_Fire> but openwrt features a writable filesystem
[00:41] <gzp> compile with what?
[00:41] <gzp> do i need crosscompiler?
[00:41] <DeltaF> later...
[00:41] <DeltaF> yes
[00:42] <Semhirage> just download the buildroot packages
[00:42] <Eagle_Fire> when you download the openwrt source, running "make" automatically downloads and compiles a crosscompiler environment
[00:42] <Semhirage> sets it all up for you
[00:42] <gzp> cool
[00:42] <gzp> sounds good
[00:42] <Eagle_Fire> linux required
[00:42] <Eagle_Fire> though no one on freenode seems to have issues that far
[00:42] <Eagle_Fire> for some reason...
[00:42] <donlaverty> gzp: + 1gig of free space!
[00:43] <gzp> ?
[00:43] <Eagle_Fire> to store the sources / object files
[00:43] <Eagle_Fire> it is linux
[00:43] <gzp> ah :-)
[00:43] <gzp> firmware upload looks horroristic on wiki
[00:44] <Semhirage> Eagle_Fire: quick ? about bridging the wan interface to create 2 external ip's, when i do that, will my server see a lan ip or will it see the external ip passed thorugh the bridge?
[00:44] <Eagle_Fire> it can get scary but you'll get the hang of it, gzp
[00:44] <Eagle_Fire> Semhirage, it will be as if the server were directly bridged to your modem
[00:44] <gzp> i'm running a tftp server, but this boot and still try to upload :-)
[00:44] <Eagle_Fire> because that will be directly what's happening
[00:44] <Semhirage> excellent, exactly what i wanted
[00:45] <Eagle_Fire> i know :)
[00:45] <gzp> i have several nfsroot diskless stations, but I like this method, brute force upload
[00:45] <Semhirage> which presents a new problem, needing 2 gateways on the server
[00:45] <Semhirage> =/
[00:46] <Eagle_Fire> oh noes, two gateways
[00:46] <Eagle_Fire> what ever will you do
[00:47] <Semhirage> sarcasm aside, it's probably not hard, but i've never had to deal with it so im not sure how to set it up
[00:47] <Eagle_Fire> why do you need two gateways?
[00:48] <Semhirage> the internet port on the server can't use a gateway of 192.168.1.1 and the lan port can't use a gateway of 66.93.197.1
[00:48] <Eagle_Fire> that doesn't make sense to me
[00:48] <Eagle_Fire> gateways are really just a bit of terminology anyway
[00:48] <Eagle_Fire> they're just entries in the routing table
[00:49] <Semhirage> eth0 = 192.168.1.137 gateway 192.168.1.1 eth1 = 66.93.197.81 gateway 66.93.197.1
[00:49] <Eagle_Fire> well you don't want any internet traffic to pass through the router, you just want it to go to the internet, right
[00:50] <Eagle_Fire> that means the lan interface should either not have a gateway or have its gateway with a higher metric to prevent routing through it
[00:50] <Eagle_Fire> gateway is your "gateway to the internet"
[00:50] <Eagle_Fire> the lan port is no such thing
[01:01] <Umaro> Hey guys.. the website still lists WRT54GS as untested.. has anyone tested it?
[01:02] <Eagle_Fire> it's new and scary to us
[01:02] <Eagle_Fire> everyone's afraid
[01:04] Action: Semhirage needs to be more careful setting up networking on a headless unit
[01:04] <Semhirage> =/
[01:04] <Eagle_Fire> that's what serial consoles are great for
[01:05] <Semhirage> i'll just have to reboot it and hook up the kvm
[01:05] <Semhirage> least till i get this sorted
[01:05] <Eagle_Fire> when i bought my motorola WR850G the only way to get openwrt on it was to have a serial console
[01:05] <Umaro> Eagle_Fire: looks like the cpu has changed, and the ethernet switch a model number or two, but looks the same otherwise. hmm.
[01:05] <Eagle_Fire> umaro, i was joking
[01:05] <Umaro> Eagle_Fire: I know
[01:05] <Eagle_Fire> the gs has been around for a while and is quite stable
[01:05] <Semhirage> im still trying to wrap my head around what you were saying about gateways
[01:05] <ralf> h1
[01:06] <Umaro> the gs v3 is kind of new though, isn't it?
[01:06] <Eagle_Fire> the deal is when the server wants to route to the internet, you don't want it to choose the lan interface
[01:06] <Eagle_Fire> the purpose of a gateway says "when you want to get to the internet, use this interface and this ip as the next hop"
[01:06] <Eagle_Fire> you don't want your server to use the lan interface as its "internet"
[01:06] <Eagle_Fire> therefore, the lan interface should not have a gateway
[01:07] <Eagle_Fire> dig?
[01:08] <Semhirage> ok makes sense
[01:08] <Semhirage> now to reboot the dirty bastid
[01:08] <Umaro> Eagle_Fire: what if the internet is in my basement?
[01:08] <Umaro> ;)
[01:08] <Eagle_Fire> what if the internet fits inside a teacup?
[01:09] <Eagle_Fire> who cares
[01:18] <Kaloz> Umaro: yep, the gs v3 and the g v4 and v5 uses a different cpu
[01:18] <|RABBIT|> wow... that's some... support folks
[01:18] <|RABBIT|> :)
[01:18] <|RABBIT|> I have a question on customization
[01:19] <|RABBIT|> the easiest way to change some of the base init files (in my view) is to have a jffs root and fiddle with everything as you would with a normal distro
[01:19] <Kaloz> Umaro: none of the developers have such unit, so we can't fix the problem, yet.. maybe when one of us gets one or someone with a serial console comes here and we can track the problem down
[01:19] <|RABBIT|> question is - is there a way to create flash images off a working router?
[01:19] <Kaloz> |RABBIT|: yes and no. if you download and compile yourself, you can customize it before flashing
[01:20] <Kaloz> |RABBIT|: yes it is, but depends on wha you are going to do. i mean it's not the best idea to clone the whole flash
[01:20] <|RABBIT|> Kaloz: because?
[01:21] <Kaloz> |RABBIT|: for your goals (if i'm right), the best way is to grab the sources from cvs, apply your modifications for it, and use a customized image to flash
[01:21] <Kaloz> |RABBIT|: because the CFE (bootloader) can be different, the nvram variables (can and should be somewhat) different
[01:21] <|RABBIT|> Kaloz: I tried to look through it (as a matter of fact a flash is compiling as we speak) but the makefiles with the downloads really throw me off
[01:21] <Kaloz> |RABBIT|: cfe and nvram stores the mac addresses for example :p
[01:22] <|RABBIT|> I mean there are no sources as such, and there is no way to separate the process of downloading and compiling
[01:22] <|RABBIT|> at least from what I figured
[01:22] <ralf> Kaloz: are you another ar7 developer?
[01:22] <Kaloz> |RABBIT|: source->compilation->image :) but if you just want to modifiy the included stuff
[01:23] <Kaloz> |RABBIT|: you can use the image builder, too
[01:23] <Kaloz> ralf: nope, but i have an ar7 to play with when i get some time for it
[01:23] <ralf> Kaloz: i have one too
[01:23] <ralf> but since i don't want to open it i'm waiting the ethernet driver
[01:24] <Kaloz> ralf: i'm fixing support for the buffalo wzr-rs-g54 now, then comes the wgt634u with linux 2.6, and my other stuff from the TODO list
[01:24] <ralf> so i can play with
[01:24] <|RABBIT|> ok... for instance
[01:24] <ralf> how is the wgt634u?
[01:24] <|RABBIT|> I want to make an image with /etc/shadow already populated
[01:24] <|RABBIT|> can't seem to be able to do it with buildroot
[01:24] <Kaloz> ralf: a bit dusty :P i'm a bit busy as i'm going to have a new job
[01:25] <|RABBIT|> as the files are being fetched and wrapped on the file
[01:25] <Kaloz> |RABBIT|: you can.. chekc target/default/targe_skeleton
[01:25] <|RABBIT|> on the fly I meant
[01:25] <Kaloz> target_skeleton even :p
[01:25] <Kaloz> for whjiterussian i mean
[01:25] <|RABBIT|> it's empty...
[01:25] <Kaloz> for HEAD, packages/base-files/default
[01:25] <|RABBIT|> or you mean whatever I dump in there will override any download?
[01:26] <Kaloz> kaloz@arrakis:~/exp$ ls whiterussian/target/default/target_skeleton/
[01:26] <Kaloz> CVS bin etc rom sbin usr www
[01:26] <Kaloz> it's not empty :p
[01:26] <|RABBIT|> well I mean every dir is empty :)
[01:26] <|RABBIT|> just the cvs headers
[01:26] <Kaloz> kaloz@arrakis:~/exp$ ls whiterussian/target/default/target_skeleton/etc
[01:26] <Kaloz> CVS firewall.user group init.d ipkg.conf nvram.overrides preinit protocols sysctl.conf
[01:26] <Kaloz> banner functions.sh hosts inittab modules passwd profile shells
[01:27] <Kaloz> wrong
[01:27] <Kaloz> :P
[01:27] <|RABBIT|> ?!
[01:27] <Kaloz> it has files for sure
[01:27] <|RABBIT|> ... why is mine empty then...?
[01:27] <Kaloz> bad cvs checkout?
[01:27] <|RABBIT|> retrying...
[01:27] <Kaloz> use cvs co -dP to get rid of empty dirs and so
[01:28] <Kaloz> |RABBIT|: and this is whiterussian as i said, it's different in HEAD
[01:28] <|RABBIT|> maybe the problem is that this:
[01:28] <|RABBIT|> cvs -d:pserver:anonymous@openwrt.org:/openwrt co openwrt
[01:28] <|RABBIT|> is not whiterussian?
[01:29] <Kaloz> it's HEAD
[01:29] <Kaloz> :)
[01:29] <|RABBIT|> shit... :)
[01:29] <Kaloz> cvs -d:pserver:anonymous@openwrt.org:/openwrt co -rwhiterussian openwrt
[01:29] <|RABBIT|> shit x 2
[01:29] <|RABBIT|> oh well, here we go again
[01:29] <|RABBIT|> thanks man :)
[01:30] <|RABBIT|> mmm but I still don't get something
[01:31] <Kaloz> yep?
[01:31] <|RABBIT|> what is the difference between the images that buildroot generates and an image that would be ripped off a live openwrt?
[01:32] <Kaloz> the image the buildroot generates will be kernel+rootfs
[01:32] <Kaloz> the _whole_ flash image would be bootloader+kernel+rootfs+nvram
[01:32] <|RABBIT|> aha
[01:33] <|RABBIT|> and there is no software yet that would take just the kernel+rootfs?
[01:33] <Kaloz> sure you can
[01:33] <Kaloz> but you should then take care exteremely for the sizes
[01:33] <|RABBIT|> I c
[01:33] <Kaloz> if you make a modified image, you can flash all kinf odf devices with it, and tbh
[01:33] <|RABBIT|> so better off go with the makefiles, where this is all taken care of already
[01:34] <Kaloz> you can simply diff your changes, and apply them easily to newer versions later
[01:34] <|RABBIT|> makes sense
[01:34] <Kaloz> for exaple whiterussian is at rc2 now. you will be able to simply make an rc3 image or a final one later :)
[01:35] <Kaloz> so in the end you save more work for yourself
[01:40] <webmind> hmm
[01:40] <webmind> does rc2 include the ide fix already or ?
[01:41] <Kaloz> webmind: nope. rc3 will
[01:41] <Kaloz> webmind: or you can checkout cvs and compile it yourself
[01:43] <webmind> ok
[01:43] <webmind> probably will look on sunday or monday
[01:43] <webmind> nite
[01:44] <Kaloz> nite :)
[01:46] <J4k3> Kaloz: do you know if on atheros/madwifi when you do an iwlist ath0 accesspoints
[01:46] <J4k3> if its transmitting a 'access points?' packet and waiting for replies, or if its passively sniffing for a moment?
[02:05] <bedtime> hihihihi
[02:06] <bedtime> o.O
[02:06] <bedtime> you seem smarter today
[02:06] <bedtime> anybody here?
[02:07] <bedtime> i would like to know if any of you did already patched the openwrt latest kernel with Julian Anastasov kernel patches
[02:08] <bedtime> so many ppl and nobody talks
[02:08] <bedtime> dumb ppl.
[02:12] <Kaloz> bedtime: i have no fsck'in idea, who Julian Anastasov is and what patches are you talking about
[02:12] <Kaloz> bedtime: give soem urls
[02:12] <bedtime> http://www.ssi.bg/~ja/#routes
[02:13] <bedtime> routing patches
[02:13] <bedtime> ( dead gateways detection stuff )
[02:13] <bedtime> i've finished my wrt54 with multi wan setup
[02:13] <bedtime> ( static + dhcp client )
[02:13] <bedtime> and some basic by port rules
[02:14] <bedtime> so it would be great to have Julian patch on openwrt to allow faster and automatic failover
[02:14] <bedtime> Kaloz : what do you think?
[02:15] <Kaloz> bedtime: just reading through the site
[02:15] <bedtime> ok
[02:15] <Kaloz> bedtime: btw, if you are already playing with bridge/kernel patches.. i remember, that there was a patch for the bridge code to handle the macs in a different way
[02:16] <Kaloz> bedtime: eg. to not to use the smallest mac, but use the mac of the first device added or smg like this
[02:16] <bedtime> mm
[02:16] <bedtime> o.O
[02:16] <bedtime> vlan1 Link encap:Ethernet HWaddr 00:13:10:81:B4:59
[02:16] <bedtime> inet addr:200.126.173.42 Bcast:255.255.255.255 Mask:255.255.255.0
[02:16] <Kaloz> and i can't find it :P
[02:16] <bedtime> vlan2 Link encap:Ethernet HWaddr 00:20:20:AA:BB:CC
[02:16] <bedtime> inet addr:200.114.213.14 Bcast:255.255.255.255 Mask:255.255.255.0
[02:16] <bedtime> two mac address ?
[02:17] <bedtime> dont get your point
[02:17] <Kaloz> okay, i will be more precise
[02:17] <bedtime> root@OpenWrt:/usr/lib/os# brctl show
[02:17] <bedtime> bridge name bridge id STP enabled interfaces
[02:17] <bedtime> br0 8000.00131081b458 yes vlan0
[02:17] <bedtime> eth1
[02:17] <bedtime> root@OpenWrt:/usr/lib/os# robocfg show
[02:17] <bedtime> Switch: enabled
[02:17] <bedtime> Port 0(W): 100FD enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 1(4): 100FD enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 2(3): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 3(2): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 4(1): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 5(C): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> VLANs: BCM5325/535x enabled mac_check mac_hash
[02:17] <Kaloz> you have eth0 with mac 44:55:66:77:88:99
[02:17] <bedtime> vlan0: 2 3 4 5t
[02:17] <bedtime> vlan1: 0 5t
[02:17] <bedtime> vlan2: 1 5t
[02:17] <Kaloz> and you have eth1 with mac 11:22:33:44:55:66
[02:18] <bedtime> eth0 is bridge mac address righ?
[02:18] <Kaloz> if you ad both to br0, the mac address of br0 becomes the mac of eth1, as it's "smaller" then the mac of eth0
[02:18] <bedtime> eth1 should be the wireless ok.
[02:18] <Kaloz> no, forget wired and wireless, forgot the wrt
[02:18] <bedtime> okok
[02:18] <bedtime> im listening
[02:19] <Kaloz> so you have those nics. the linux bridge code will choose the smallest mac of the bridged interfaces
[02:19] <bedtime> ok , follow please
[02:19] <Kaloz> but i do want it to use the mac of eth0 regardless how small macs there are and how many interfaces there are
[02:20] <Kaloz> i saw a patch for this once, that forced the bridge code to use the mac of the first added interface
[02:20] <bedtime> ok , but what that should be useful to?
[02:20] <|RABBIT|> I thought MACs on bridges can be arbitrarily specified, just like with most NICs ?
[02:21] <bedtime> i mean , isnt possible to change the bridge macaddy?
[02:21] <Kaloz> |RABBIT|: afaik it can't :/
[02:21] <Kaloz> erm
[02:21] <bedtime> ok
[02:21] <Kaloz> "it's not possible"
[02:21] <Kaloz> it's late here :P
[02:21] <bedtime> ok
[02:22] <bedtime> really thx , but just in case i would need to do that i will check that patch
[02:22] <bedtime> thx.
[02:22] <bedtime> but now i need a automagically gateway "is alive" detector
[02:22] <Kaloz> bedtime: i asked because i want to get that patch into openwrt :P just i1m unable to find it :)
[02:23] <Rawplayer> bedtime: www.erkens.info
[02:23] <bedtime> lets check erkens
[02:23] <Kaloz> bedtime: anyway, back to htat page
[02:23] <Rawplayer> its on that site somewhere
[02:23] <bedtime> dutch?
[02:24] <Umaro> yay whiterussian rc2 + sip conntracking
[02:24] <Rawplayer> http://www.erkens.info/22
[02:24] <bedtime> Rawplayer: pingcheck?
[02:25] <Rawplayer> yes
[02:25] <bedtime> naah
[02:25] <bedtime> well thx raw , but i want smth at kernel layer.
[02:26] <bedtime> check this guy text http://www.ssi.bg/~ja/nano.txt
[02:30] <|RABBIT|> kaloz, for the world of it - there is no ./target/default in the current wr tree
[02:30] <|RABBIT|> is it possible it got removed for whatever reason?
[02:31] <Kaloz> |RABBIT|: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/target/default/target_skeleton/
[02:31] <Kaloz> |RABBIT|: there is :P
[02:32] <|RABBIT|> xactly
[02:32] <|RABBIT|> if you look in the dirs in target_sceleton - they are empty
[02:33] <|RABBIT|> skeleton I mean
[02:33] <Kaloz> hmz
[02:33] <Kaloz> i kick someone in the ass
[02:34] <|RABBIT|> @ least I am not going nuts :)
[02:38] <bedtime> brb
[02:40] <OCA|> Greetings, Kaloz
[02:42] <OCA|> I havn't reflahsed it yet, but I'm noticing that my wgt634u is VERY slow when writing to a USB hard disk. Do you know if this is a hardware limitation, or a software limitation that could be fixed in another firmware?
[02:42] <Kaloz> OCA|: dunno, but i know, that the asus deluxe is a lot slower with factory firmware then with openwrt
[02:43] <OCA|> Kaloz: The Asus also havinga 200mhz broadcom mips processor?
[02:43] <Kaloz> OCA|: netgear uses old usb stuff, asus uses a somehat newer backported version, we use the newest
[02:43] <Kaloz> OCA|: yep
[02:46] <OCA|> Kaloz: Yay, hope =)
[02:46] <Umaro> I should have bought a wgt634u or a WL 500G deluxe, but they didn't have one at best buy
[02:46] <OCA|> Kaloz: One more bugging.... by chance do you know if the default firmware can read an ext2fs drive?
[02:46] <OCA|> Umaro: Do NOT buy it retail. Ebay for it.
[02:46] <Kaloz> OCA|: imho from 1.4.19 or what it can
[02:47] <Kaloz> OCA|: when this get's available, i will ask here someone to buy it for me (and i send him the money) - http://www.buffalotech.com/products/product-detail.php?productid=115&categoryid=6#
[02:48] <OCA|> Umaro: Best Buy wants $99 for the WGT 634u. I got mine on ebay for $40 after shipping.
[02:48] <OCA|> (refurb though)
[02:48] <OCA|> (retains a netgear warantee though =)
[02:50] <Kaloz> OCA|: this one is a high power one, and has the newest cpu and wlan stuff as the new linksys models
[02:50] <Kaloz> OCA|: so i can add support for these at last
[02:50] <OCA|> Looking at its specs now
[02:51] <OCA|> Not bad, though I'm a bit too excited about having a USB port =)
[02:52] <jopi> OCA|: does it works well?
[02:52] <Kaloz> nah, i just want to have 535x support in openwrt :P and if i cna choose, i want this monster instead of a linksys
[02:53] <bedtime> hey
[02:53] <Eagle_Fire> sup
[02:53] <bedtime> testing my new wrt54g multihomed router
[02:53] <OCA|> jopi: Default firmware for the WGT634u, it's.... usable.....
[02:53] <OCA|> jopi: Takes fiddling and a bit of blood, sweat, and tears to make it work, but it does.
[02:54] <OCA|> jopi: i'm really hoping it'll shine under OpenWRT
[02:54] <jopi> OCA|: are you using it with stock firmware, then ?
[02:54] <OCA|> jopi: Right now, yes. As far as I know, it doesn't work with openwrt right now
[02:58] Action: OCA| wonders what file system OSX writes when you tell it to use "Unix File System"
[02:59] <Kaloz> hehe
[02:59] <Kaloz> nighty night
[02:59] <OCA|> Night!
[02:59] <McTails> What's the WGT63u?
[02:59] <jopi> OCA|: ufs ?
[02:59] <jopi> McTails: 634u
[02:59] <OCA|> jopi: Is there such a thing?
[02:59] <jopi> an ap model
[03:00] <McTails> OCA|: It's based on the BSD UFS filesystem, but incompatible
[03:00] <McTails> It's old and slow, use HFS+ Journaled/Case-sentivite
[03:00] <jopi> OCA|: isn'it the solaris and bsd filesystem ?
[03:00] <McTails> So what's the 634u?
[03:00] <OCA|> McTails: a router by Netgear. 802.11G through an Atheros chip, USB port (stock firmware lets you use it as an FTP/Samba storage server), 4 port switch + WAN port
[03:00] <jopi> McTails: an ap model, I repeat
[03:01] <McTails> Oh
[03:01] <McTails> Nice
[03:01] <OCA|> They're going for cheap on ebay for a reason though - the stock firmware blows chunks. The hardware is capable of MUCH better than what I'm seeing here, so I'm really looking forward to openwrt support for it
[03:02] <OCA|> That said - it's WORTH $40, it'll just take some time to get it to behave.
[03:02] <McTails> It sounds like a NSLU2 and a WRT54GS merged into one neat little package
[03:02] <jopi> OCA|: well, then it's just a matter of time
[03:02] <OCA|> jopi: Kaloz is working on it, actually
[03:02] <jopi> I was going to buy one
[03:02] <OCA|> McTails: Yep, but this only has one USB port.
[03:02] <jopi> but ran out of money for this month
[03:03] <OCA|> McTails: I'm still hoping to get a USB->VGA adapter, compile some lightweight environment for it (probably OPIE or GPE), and use it both as a storage server and as a little net appliance.
[03:04] <McTails> OCA|: I rather attach a video camera card and use it as a streaming server
[03:05] <OCA|> Either should be possible
[03:06] <OCA|> jopi, McTails: Here's a fun example of the netgear firmware being a bitch: it's internal FTP server? I set the password and login on the web interface, it says it was successful, but I can't login with that user/pass.
[03:07] <OCA|> The samba share is working good (other than being slow) though.
[03:08] <McTails> I want one now
[03:08] <OCA|> McTails: What region you live in?
[03:09] <McTails> New York
[03:09] <OCA|> McTails: PFft, ebay, now.
[03:09] <McTails> I know *rolls eyes*
[03:09] <OCA|> McTails: I've seen them go for $30 after shipping, mine was $40 after shipping, and mine arrived two days after the auction ended.
[03:09] Action: OCA| was thrilled
[03:10] <McTails> nice
[03:11] <jopi> OCA|: where are you located?
[03:11] <OCA|> I am warning you though - while the hardware is NICE, really, the default firmware is just a major pain.
[03:11] <OCA|> jopi: Plano, Texas, USA, North America, Earth, Milky Way, Universe.
[03:12] <OCA|> .... I suppose universe wasn't necissary.
[03:12] <jopi> neither anything after texas
[03:14] <jopi> well, I want to give it a try
[03:14] <OCA|> jopi: Where are you from?
[03:14] <jopi> usb sounds very interesting
[03:14] <jopi> barcelona, catalonia
[03:14] <jopi> western europe
[03:15] <OCA|> aaah
[03:15] <OCA|> See, I'm a culturally challenged American, I actually need the continental designation =)
[03:16] <jopi> europe has quite a lot of countries
[03:16] <OCA|> Sucks though, I hear wireless equipment is rather expensive in Europe.
[03:16] <jopi> I confess I am unable to say which one is, for example, croatia, in a map
[03:17] <OCA|> Does that make it okay that I can't find Illinoise on the map?
[03:17] <jopi> OCA|: don't know which are your usual prices
[03:17] <jopi> OCA|: neither me
[03:17] <jopi> :)
[03:18] <OCA|> jopi: does all of Europe use the Euro? <really IS showing he knows nothing outside the US border>
[03:18] <jopi> no, only the EU affiliated states
[03:18] <Umaro> hey guys.. trying to reflash my wrt54gs.. can't get the ping hack or wrt54gcli.pl to work, it just responds "network is unreachable"
[03:19] <Leeds> jopi: not all the EU uses it
[03:19] <jopi> EU = european union
[03:19] <Umaro> I tried using ping_times instead of ping_ip
[03:19] <Leeds> only the 'Eurozone'
[03:19] <jopi> Leeds: ok, UK
[03:19] <jopi> but I think all of the rest does
[03:19] <Leeds> jopi: nope
[03:20] <OCA|> jopi: So does Catalonia use the Euro? =)
[03:20] <jopi> Leeds: oh, sorry then
[03:20] <jopi> OCA|: yes, this is Spain
[03:20] <OCA|> jopi: My WGT634u would be $32.84EU
[03:21] <Leeds> jopi: neither Sweden nor Denmark use it - and none of the new EU countries use it yet :-)
[03:21] <jopi> very cheap
[03:21] <bedtime> jpi
[03:21] <bedtime> cuanto cuesta?
[03:21] <bedtime> 33 euros?
[03:21] <bedtime> solo eso?
[03:22] <bedtime> and it is broadcom based?
[03:22] <jopi> Leeds: perhaps is because of the fact is that neither denmark nor sweden considers themselves at the same level as the rest of the countries
[03:22] <jopi> bedtime: atheros based
[03:22] <OCA|> The CPU is Broadcom though
[03:23] <Leeds> jopi: well, the whole EU is a little screwed right now... I am an EU citizen, currently living at the other end of the planet
[03:23] <bedtime> Leeds: im from mars.
[03:23] <jopi> Leeds: new zealand?
[03:23] <jopi> bedtime: solo 33 euros, si
[03:23] <Leeds> jopi: not quite - Hong Kong
[03:24] <jopi> wow
[03:24] Action: OCA| needs to get out more
[03:24] Action: OCA| has been outside Texas... twice.
[03:24] <bedtime> hey jopi , is it flash-able
[03:24] <jopi> yes it is
[03:24] <bedtime> oca| haha
[03:25] <bedtime> mmm
[03:25] <jopi> but as of now it is not supported by openwrt
[03:25] <jopi> very interesting for replacing the minipci card with a a/b/g one
[03:25] <Leeds> OCA|: I've been to Texas... never
[03:25] <OCA|> bedtime: Kaloz is working on support for it. Supposedly it kinda works internally, but not real well
[03:26] <jopi> well, time to send Kaloz beer
[03:26] <jopi> :P
[03:26] <bedtime> well basically , i dont care about wless access
[03:27] <jopi> bedtime: and so?
[03:27] <OCA|> Leeds: You'd find Texas a rather warm and inviting place, with lots of nice people. Untill you mention you're anti-(War|Bush|Oil|BigBusiness) . Then you get shot.
[03:27] <Leeds> OCA|: CA is far more my sort of place, I think
[03:28] <OCA|> ...
[03:28] <OCA|> Okay, I'm wondering if this is even POSSIBLE
[03:28] Action: OCA| formatted a disc from EXT2 (which had a single file on it), to FAT32, to UFS, back to EXT2, and the file is showing up on the disc.
[03:29] <bedtime> jopi: if it is 30 bucks you can do nice grid system on a bunch of em.
[03:29] <jopi> bedtime: well, multiply the cost
[03:29] <jopi> I am not rich
[03:29] <bedtime> not for personal use
[03:30] <jopi> I am not rich, neither my company
[03:30] <jopi> :P
[03:30] <bedtime> jopi: ....
[03:31] <jopi> but yes
[03:31] <jopi> it may be a good platform for testing such a deployment
[03:32] <jopi> bedtime: where are you located?
[03:33] <bedtime> ARgentina
[03:34] <jopi> ohm that explains why youspeak spanish :P
[03:34] <jopi> Bs As?
[03:34] <bedtime> ?
[03:34] <bedtime> whadda yo meen?
[03:34] <bedtime> ah
[03:34] <bedtime> spanish
[03:34] <bedtime> right
[03:34] <jopi> español
[03:34] <bedtime> I'm at BsAs right now
[03:35] <bedtime> im a bit obsfucated
[03:35] <jopi> ver nice city
[03:35] <bedtime> mm well yeah dunno
[03:35] <jopi> voy de vacaciones con mi mujer cada año
[03:35] <bedtime> jopi: why here?
[03:35] <jopi> at least for a tourist
[03:35] <jopi> le pedi en matrimonio alli
[03:35] <jopi> ;)
[03:35] <bedtime> jopi: you can go anywhere else
[03:36] <bedtime> jopi: ic.
[03:36] <bedtime> well , i gotta finish this custom scripts for the multihomed wrt54g
[03:37] <jopi> multihomed?
[03:37] <jopi> what does it mean ?
[03:37] <bedtime> multiple wan ports.
[03:38] <jopi> what do you want, using several lan ports for wan load balancing?
[03:39] <bedtime> im doing that
[03:39] <bedtime> not lan , wan
[03:39] <jopi> yes
[03:40] <jopi> did you patch the kernerl with julian anastasov patches?
[03:40] <bedtime> not yet
[03:40] <bedtime> i want to do that
[03:40] <bedtime> but i want some advice on doing such thing.
[03:41] <jopi> and why are you using a wrt54g for that?
[03:41] <jopi> is quite a "little" router
[03:41] <bedtime> coz it is cheap
[03:41] <jopi> yep
[03:42] <bedtime> well cheaper than any doble wan router
[03:42] <bedtime> and all the nice stuff like , sip , vpn terminator etc.
[03:42] <jopi> but you can buy a load balancer for less than the hours it will take you deploying that
[03:43] <bedtime> i couldn't make the serial console work yet. dunno why
[03:43] <jopi> at least here
[03:43] <bedtime> jopi , mm do you think?
[03:43] <jopi> for less than 200 euros
[03:43] <bedtime> jopi wich one?
[03:43] <bedtime> well i couldnt find a cheap one.
[03:43] <bedtime> remember the funny things
[03:44] <jopi> allnet, for example
[03:44] <bedtime> like serial ports , gpio , fully customizable , wireless , sip etc.
[03:45] <jopi> yeah, right
[03:45] <jopi> well, gotta go
[03:45] <jopi> here is a quarter to four AM
[03:46] Action: jopi goes to sleep
[03:46] <bedtime> ok , bye buddy
[03:54] <swim> hi, how can I debrick my wrt54g from a linux box?
[03:54] <swim> ive only found directions on how to do it from windows
[04:03] <Hecktjui> swim: yes
[04:17] <schoppa> moin!
[04:17] <schoppa> hi!
[04:17] <OCA|> BTW, anyone who talked with me about the WGT634U earlier - Netgear has a new firmware only available on their website (as opposed to the auto-updater) that fixes many of the issues I had.
[04:18] <schoppa> anyone confirm with micro libc ?
[04:18] <schoppa> uClibc
[04:21] <Umaro> Hey guys.. so I got the ping hack to work on my new WRT54GS v3 and set boot_wait=on (which I verified with nvram show after a reboot), but when I try to tftp when the device boots up, it just keeps sending WRQs as the regular firmware boots
[04:21] <Umaro> I'm using rexmt 1 and timeout 60 in my tftp, so I start it a good 5 seconds before I even plug the WRT54GS in
[04:22] <Namaseit> you do binary?
[04:26] <Umaro> yes
[04:26] <Umaro> ok, looks like this time, I actually got "cann't downgrade to this old firmware version"
[04:26] <Umaro> this is a v3
[04:27] Action: Umaro summons [mbm] with beautiful women dancing.
[04:28] <swim> man, I tried void main's revival and still couldnt get a ping result
[04:29] <Umaro> swim: what's the problem? clkfreq?
[04:30] <Umaro> I've got an WRT54GS v2.2 brick sitting there waiting for me to build a JTAG cable correctly
[04:31] <swim> i just got this thing yesterday! but it just sits there after a recent flash blinking its power light forever
[04:31] <swim> and I can connect to it
[04:33] <swim> man am I pissed
[04:34] <Umaro> swim: where'd you buy it from?
[04:34] <swim> Umaro, compusa... Ill try to take it back right now, I just hope they dont see the broken sticker on the bottom!
[04:36] Action: swim rubs off the void sticker
[04:36] <OCA|> J4k3!
[04:37] Action: J4k3 just got off the tower
[04:37] <J4k3> I gotta pee
[04:37] <J4k3> haha
[04:37] <Umaro> swim: you opened it? odd.. you should have just returned it right away, lol
[04:38] <Semhirage> returned what?
[04:38] <swim> yah I know but it was a pain
[04:38] <Semhirage> you flashed it with warranty voiding firmware, and opened it up, thus voiding any warranty as well
[04:38] <Semhirage> you bricked it, you bought it
[04:39] <swim> well they dont know that
[04:39] <Umaro> Semhirage, no, he's saying he can't flash it
[04:39] <Semhirage> [21:31:17] <swim> i just got this thing yesterday! but it just sits there after a recent flash blinking its power light forever
[04:39] <Semhirage> [21:31:24] <swim> and I can connect to it
[04:39] <swim> i have flashed already though
[04:39] <swim> sorry I meant after I flashed it
[04:40] <Umaro> oic
[04:43] <Umaro> the power light should be blinking and the dmz light should be on while it's flashing, right?
[04:44] <swim> dmz? the only lights that are on are the flashing power light, and the port where the eth cable is plugged into
[04:45] <Umaro> is yours a wrt54gs?
[04:46] <swim> no just a wrt64g v3.1
[04:46] <Umaro> oic
[04:48] <Umaro> Kaloz, you around?
[04:50] <[mbm]> .
[04:51] <Igbothom_III> hey [mbm], how's it going?
[04:51] <[mbm]> pretty good
[04:51] <Igbothom_III> excellent
[04:52] <Igbothom_III> looking forward to the weekend? (We had a short week with Brisbane Show Holiday on Wed this week)
[04:52] <Umaro> [mbm], hi there.. can you give me any pointers on how to make the WRT54GS v3 work with openwrt?
[04:53] <swim> alright all packaged back up and ready to go
[04:53] <[mbm]> Igbothom_III: brisbane? you mean the brisbane by san fran?
[04:53] <Igbothom_III> nope, the Brisbane about 12 hrs drive from Sydney!
[04:53] <[mbm]> ah
[04:53] <Igbothom_III> Sunny Queensland :)
[04:54] <[mbm]> Umaro: where's it at right now?
[04:54] <[mbm]> & what did you try
[04:54] <Igbothom_III> WRT54GS ver 3.0? What did they change?
[04:55] <Umaro> [mbm]: It's still got stock linksys firmware, I just did the ping hack thing.. tried to upload a whiterussian rc2 and it gave me the "cann't downgrade to this old firmware" deal
[04:55] <[mbm]> Umaro: use tftp
[04:55] <Umaro> yeah, that's what I did
[04:55] <Igbothom_III> damn, CPU change
[04:55] <Umaro> sorry, I forgot to include that I set boot_wait=on in there
[04:55] <Umaro> so i could do tftp
[04:55] <[mbm]> hmm.
[04:55] <Umaro> when I upload using the linksys web interface, it just sits there for a long while and then says "upgrade failed!"
[04:56] Action: [mbm] tries to recall the hardware revision history ..
[04:56] <Umaro> [mbm], I don't want to be a bother, but the forum said that the developers didn't have a WRT54GS v3 to work with. I can put mine on a public ip, and maybe you can manipulate it from there?
[04:56] <Igbothom_III> v3.0 uses a Broadcom 5352 CPU instead of the original 4712 CPU
[04:57] <Umaro> right
[04:57] <[mbm]> the gs 2.0 was when they added the cisco buttons&leds
[04:57] <Umaro> v3.0 is the only kind best buy has :(
[04:57] <OCA|> Umaro: check other best buy's. Recently I bought a version 2.0 from mine.
[04:58] <Umaro> OCA|, hmm..
[04:58] <Umaro> OCA|, ok, but ideally I'd be able to get the V3.0 to work.. :)
[04:58] <Igbothom_III> the Supported list for OpenWRT says "Untested" for the 3.0 rev
[04:58] <[mbm]> hmm I'd have to double check if the 5352 support was enabled in rc2
[04:58] <OCA|> Of course, but if you have to change
[04:58] <[mbm]> I'd say within a week it'll be up and running ;)
[04:58] <Igbothom_III> I notice this CPU supports the switch and has no 5325 chip controlling it
[04:58] <Umaro> Say, anyone feel like selling me a JTAG cable? I tried to make one for my other WRT54GS (v2.2) but I failed miserably at the soldering part
[04:59] <OCA|> Note that version 2.0 does NOT list the version number under the bar code like Version 2.2 does (not sure if 3.0 does). If it says version 2 under the bar code, it's 2.2
[04:59] <OCA|> On the box, that is
[04:59] <Umaro> [mbm], would having access to my WRT54GS v3.0 be of any assistance to you?
[04:59] <[mbm]> the boxes rarely ever reveal the right version
[04:59] <[mbm]> unless you're looking at the serial numbers
[05:00] <[mbm]> Umaro: no, not needed. pretty sure the 5352 is just an integrated 4712+5325
[05:00] <[mbm]> and all that we'd really need to do is check the headers and make sure we have the right pci ids
[05:00] <Igbothom_III> aahhh, the 5352 has WMM support (QoS in 802.11e) in the CPU - nice
[05:01] <Igbothom_III> [mbm] that looks like it - old CPU upgraded and the switch processor on the one piece of silicon
[05:02] Action: [mbm] goes to see if there's been any source releases past 4.70
[05:03] <Igbothom_III> aside from the actual LinkSys WRT units, any other decent hardware recommendations?
[05:03] <Igbothom_III> (just out of interest)
[05:04] <[mbm]> there's a TableOfHardware on the wiki that lists similar models
[05:04] <[mbm]> some have usb
[05:04] <Igbothom_III> yeah, I'm reading that
[05:05] <[mbm]> there's a netgear model that seems to be pretty popular
[05:05] <Igbothom_III> I was wondering if you (or anyone else) had played with some good hardware
[05:05] <Igbothom_III> according to the hardware list, there's no supported netgear models
[05:06] <Igbothom_III> (and I have had nothing but issues with any Netgear hardware I've used)
[05:06] <OCA|> Igbothom: Netgear's firmware sucks hardcore.
[05:06] <Igbothom_III> totally
[05:06] <OCA|> Igbothom: But the hardware looks nice. I'm really hoping OpenWRT will bring out the potential of the WGT634U, which is going REALLY cheap on ebay right now and has a usb port
[05:07] <Igbothom_III> yeah, I have 2 of these installed, both giving grief with the 802.11b/g side needing rebooting every morning - the 802.11a side runs fine
[05:08] <[mbm]> Igbothom_III: the netgear one is still being worked on
[05:08] <Igbothom_III> sorry, the WGU624 is the one I'm thinking of - 2 in play and both crap
[05:12] <Piranha-> having wireless clients use my main router's dhcp server... is there documentation on this
[05:15] <[mbm]> Umaro: gimme about an hour and I'll have a firmware that should work on that
[05:15] <Igbothom_III> woohoo
[05:17] <OCA|> mbm: would that firmware work on a wgt634u as well? =)
[05:17] <Igbothom_III> different CPUs
[05:18] <OCA|> Oh well, waiting gives me time to do the schoolwork that I should be doing =)
[05:19] <Namaseit> wtf
[05:19] <Igbothom_III> welcome to freenode :)
[05:21] <OCA|> Is ext2 a particularly fragile fs?
[05:21] <Namaseit> in what way?
[05:21] <OCA|> Namaseit: If power is lost in the middle of a write, for instance. I'm wanting to use it for a portable USB hard drive hooked up to my laptop.
[05:22] <Namaseit> no don't do that
[05:22] <Namaseit> its not journaled
[05:22] <dasOp> you dont want a power loss on ext2fs
[05:22] <Namaseit> Use reiserfs
[05:22] <OCA|> Okay, here's where the tricky part is.
[05:22] <OCA|> Can reiserfs be read in Windows?
[05:22] <Namaseit> unfortunately no windows ability to read it
[05:22] <Namaseit> :)
[05:22] <dasOp> or use fat and disable write cache
[05:23] <dasOp> which is what windows does on external devices thats got fat
[05:23] <dasOp> so you can pull it anytime and not really risk much
[05:23] <OCA|> dasOp: Oh yeah, the last catch... I'm going to be writing 60 gig files.
[05:23] <Namaseit> yeah that won't work in fat
[05:24] <OCA|> No kidding =)
[05:24] <Namaseit> I think there is a utility to read ext3 in windows
[05:24] <Namaseit> google it
[05:24] <OCA|> Found one for ext2... checking ext3 now..
[05:25] <dasOp> well, (ducks for zealots) ext3 doesnt give you more than ntfsv5
[05:25] <Igbothom_III> if it can read ext2 then it will read ext3
[05:25] <Namaseit> ext3 at least has journalling
[05:25] <OCA|> But can it write EXT3?
[05:25] <Namaseit> don't know
[05:26] <Namaseit> haven't used ext3 in years
[05:26] <OCA|> Is NTFS still dangerous in linux?
[05:26] <[mbm]> ext3 is backwards compatible with ext2
[05:26] <Igbothom_III> if it can write ext2 then it will write ext3
[05:26] <Namaseit> OCA|: yes
[05:26] <[mbm]> meaning that you can mount an ext3 as an ext2 and fully read/write
[05:26] <[mbm]> you just won't have the journalling, plus there may be a fsck when you reboot to linux
[05:27] <OCA|> mbm: Okay, if I don't have journalling, and the power dies to the drive, will just the file be corrupt, or will I lose the entire partition?
[05:27] <Namaseit> you won't lose the whole partition
[05:27] <[mbm]> OCA|: just some minor file corruption, filesystem gets flagged as dirty and fsck runs and cleans up
[05:27] <Namaseit> but a fsck will need to be done
[05:27] <OCA|> Then I may just continue with ext2
[05:27] <[mbm]> use ext3 whenever possible
[05:28] <Namaseit> just use ext3 and mount as ext2 when you have to
[05:28] <[mbm]> right
[05:28] <OCA|> Is it worth that considering it would be in ext2 mode at least 90% of the time? If so, I'll reformat now.
[05:29] <Igbothom_III> short answer: yes
[05:29] <Namaseit> might as well have journalling when you can
[05:29] <Igbothom_III> 10% better is 100% better than 0% better :)
[05:30] <OCA|> .... DUH
[05:30] <[mbm]> (if the partition actually is ext2 formatted you can run tune2fs to create a journal file, making the drive ext3)
[05:30] Action: OCA| smacks himself on the forehead
[05:30] <hpa> OCA|: No need to reformat
[05:30] <OCA|> I COULD just partiton the drive, since the only time I'll be using it in Linux is for stuff that will only be accessed on linux....
[05:31] <[mbm]> no reformatting needed to switch between ext2/3
[05:31] Action: OCA| is making nightly HD images of his laptop's HD using Ubuntu, and still wanted to be able to use the drive in Windows for video editing
[05:31] <[mbm]> ext2->ext3 is done with tune2fs, ext3->ext2 is just done by mounting it as ext2 (it can later be remounted as ext3 without any issues)
[05:32] <hpa> [mbm]: *as long as* it's clean
[05:32] <OCA|> Thanks, at this point I think I'm going to partition the drive
[05:32] <hpa> [mbm]: Otherwise you need to fsck (which you should do before mounting ext2 dirty too)
[05:32] <[mbm]> hpa: right
[05:33] <hpa> But if it's ext3, the fsck is obligatory (ext2 will not mount it)
[05:34] <Umaro> Igbothom_III, the WGU624 has a usb port?
[05:34] <Igbothom_III> nope, but they DO suck!
[05:37] <Namaseit> and you have 2 of them!
[05:38] <Umaro> [mbm], any luck on that firmware update?
[05:38] <Umaro> [mbm], again, not trying to bother, just anxious
[05:38] <[mbm]> Umaro: still building
[05:38] <Umaro> [mbm], cool
[05:38] <[mbm]> recompiling the whole damned thing takes too long ;)
[05:38] <Umaro> [mbm], you need to recompile it on a SGI box, then ;)
[05:39] <Umaro> [mbm], I got a test account on penguin.sgi.com for some work I'm doing for a client.. 8 Itanium 2 cpus at 1.6Ghz, 16 gigs of ram
[05:40] <Umaro> It's actually 4 boxes clustered, but their interconnects are like 6.4gb, so it's hardly noticable
[05:40] <[mbm]> my build environment is a amd64 .. used to be fast ...
[05:40] <Umaro> nice
[05:40] <Umaro> I've still got a XP 1800 here at home, lol
[05:41] <Namaseit> my AMD64 is stillfast
[05:41] <Umaro> So, like I was saying.. anyone want to sell me a homemade (but tested!) JTAG cable?
[05:42] <Namaseit> I have 3 right now
[05:42] <Namaseit> didn't you say you tried to make one
[05:42] <Umaro> yeah
[05:42] <Namaseit> what was wrong with it
[05:43] <[mbm]> Umaro: 3000+ here.
[05:43] <Umaro> I have a solder gun instead of a soldering iron.. so it's not easy
[05:43] <Namaseit> oh dang
[05:43] <OCA|> Umaro: ouch
[05:43] <Umaro> I burnt the db25
[05:43] <Namaseit> burnt? damn
[05:43] <Umaro> yeah, I kind of soldered pins 1-4 and 11-14 together
[05:44] <Namaseit> holy crap
[05:44] <Namaseit> :-)
[05:44] <Umaro> I think I could probably figure it out with a regular soldering iron.. maybe I should buy one.
[05:44] <Namaseit> 5 bucks, radioshack
[05:44] <Umaro> the soldering gun just isn't designed for this small kind of thing
[05:44] <Umaro> yeah, I should do that
[05:45] <Umaro> too bad they close in 15 minutes
[05:45] <Namaseit> it's a piece of crap but it works for me
[05:46] <Namaseit> how did you solder on the 12 pin header for the JTAG cable?
[05:47] <[mbm]> Namaseit: clean out the holes first, drop in a header and solder
[05:47] <Namaseit> I know
[05:47] <Namaseit> I've done it to all 4 of mine
[05:48] <Namaseit> but he said he only had a solder gun
[05:48] <Namaseit> I was wondering how he destroyed his DB25 connector but got the 12 pin header on
[05:49] <Umaro> lol
[05:49] <Umaro> I don't even know if my jtag connector will work, actually
[05:49] <Umaro> I had to drill the holes out with a 5/32 drill bit
[05:50] <Namaseit> drill holes? for what
[05:50] <Piranha-> how easy would it be to have my wireless AND wired clients to use my network's dhcp server transparenty
[05:50] <Umaro> I did get it dead center, so it stayed inside the holes
[05:51] <Namaseit> holes? on the case
[05:51] <Namaseit> ?
[05:51] <Piranha-> I know with sveasoft and default wrt firmware it was done by default
[05:51] <[mbm]> Piranha-: trivial
[05:52] <Piranha-> I tried following the AP guide, but that just kills my wrt
[05:52] <Piranha-> gotta reset nvram
[05:52] <[mbm]> Piranha-: which ap guide?
[05:52] <Piranha-> well its not a guide per say.. just a few commands
[05:53] <Piranha-> http://cyberforat.squat.net/openwrt/OpenWrt-HOWTO/x402.html
[05:53] <Piranha-> 5.5. Sample network configurations. AP mode
[05:53] <Umaro> Namaseit, no, for the connectors
[05:53] <Umaro> I tried to melt the solder, but it was too hard
[05:53] <Umaro> It wouldn't melt for me
[05:53] <Namaseit> so you drilled it?
[05:54] <[mbm]> Piranha-: that's the default.
[05:54] <[mbm]> Piranha-: and with rc2 if it detects a dhcp server on the lan while booting it'll disable dnsmasq's dhcp
[05:54] <Piranha-> well for some reason it wont allow my wifi clients to pull dhcp
[05:54] <[mbm]> check to see that your wifi works atall
[05:54] <Piranha-> yeh it does
[05:54] <Piranha-> mad sure of that first
[05:55] <[mbm]> there's no magic to block dhcp over wireless
[05:55] <[mbm]> if it works on the lan it should work over wifi
[05:55] <Piranha-> hmmm
[05:56] <Piranha-> and it shouldnt make a difference whether I set an IP for my lan interface should it
[05:56] <[mbm]> nope
[05:57] <Piranha-> seems kinda messy for me
[06:01] <Umaro> [mbm], still compiling? :)
[06:01] <[mbm]> yep.
[06:02] <[mbm]> probably coulda disabled module building
[06:17] <TheMystic> anyone around who's successfully built the buildroot? the build fails b/c it can't download linksys-wlconf.tar.gz
[06:18] <OCA|> TheMystic: I have a while back, but would I still have the file or does it auto-clean?
[06:19] <TheMystic> OCA|: unknown
[06:19] <TheMystic> OCA|: if you've still got it, it'd be in the dl/ directory of your build tree
[06:20] <[mbm]> Umaro: uploading stuff now .. just a few min
[06:20] <Umaro> [mbm]: awesome!
[06:22] <[mbm]> Umaro: http://downloads.openwrt.org/people/mbm/test/
[06:22] <Umaro> cool, thanks
[06:22] <Umaro> brb
[06:28] <OCA|> Gah, my dev box is misbehaving. SEc
[06:28] Action: OCA| scratches his head "why did its ip change..?"
[06:30] <OCA|> dl as in, extracted from whiterussian.tar.bz2, */openwrt/dl ? Or is there more than one?
[06:31] <TheMystic> OCA|: yeah, that'd be the one
[06:31] <TheMystic> /path/to/openwrt/dl/linksys-wlconf.tar.gz, unless it got deleted
[06:32] <OCA|> Nope =/ bunch of other stuff in there, but not that.
[06:33] <Weedy> http://img375.imageshack.us/my.php?image=networktopography204ro.png <---- do i need 2 gateways on the server or do i set the default gateway to the lan or inet gateway address?
[06:36] <[mbm]> wlconf shouldn't be needed for rc2
[06:39] <TheMystic> [mbm]: nonetheless, the build process is trying to download it and failing when it can't
[06:40] <TheMystic> unless i'm grabbing an old tarball for buildroot?
[06:40] <[mbm]> disable the sdk in the config
[06:42] <TheMystic> [mbm]: erm, already is
[06:43] <TheMystic> [mbm]: you're talking about the "OpenWRT SDK" at the bottom of the package selection menu right?
[06:44] <[mbm]> right
[06:52] <swim> hey folks, is the wrt54g the best choice for a router/wireless bridge ? because I see that linksys makes simillarly priced WRT54GC
[06:54] <OCA|> swim: the GC is not compatible with openwrt, so if you want to flash a custom firmware, no.
[06:54] <OCA|> swim: Other than that, well, I'd by lying if I said I didn't like its dimunitive size.
[06:55] <swim> yah it looks nice too but then again its anntenas are internal
[06:55] <OCA|> swim: The Netgear WGT634U is a great deal on ebay right now (lots of places are selling the refurbs there), but you will have to futz with the firmware to get all the features working right.
[06:56] <OCA|> swim: It has a small external antenna.
[06:56] <swim> OCA|, oh thats not cool, plus I need to stick to whatever compusa has because ive got credit there
[06:57] <OCA|> swim: well, if you're going for custom firmware, the WRT54G (version anything-but-3.0) is the most widely supported. The most hardware hacks are available for it. But the hardware itself isn't as good a value as some other ones - no USB, a radio that doesn't work well if you try to pump up the tx power. That said, out of the box it has good range and is rock-solid stable.
[06:58] <swim> OCA|, what about v3.1 ?
[06:59] <OCA|> I'm not sure about 3.1. Personally I've used 2.0 (to hack) and 2.2 (to run my network). I may have dealt with other ones to run my network, but I don't have them on me anymore and don't remember their versions./
[07:00] <OCA|> My basic advice is if you don't need any of the really fancy stuff (USB, mini-pci) or want to go nuts with the transmission power and range, the WRT54G is rock-frikkin-solid, easy to set up, and widely supported by custom firmware.
[07:01] <OCA|> As far as what versions above 2.2 work.... *sec*
[07:01] <OCA|> *with openwrt
[07:01] <swim> OCA|, yah I dont need any of that stuff... but I do want it to be supported :) and as far as I know they only have (compusa) the v3.1 right now
[07:03] <OCA|> According to the table of hardware it is not currently supported. However, if you want to know if it's being worked on anytime soon... wait for mbm or another of the devs here to notice this conversation and butt in =)
[07:04] <OCA|> Lemme rephrase that: "untested", not unsupported, and the guy who had a 3.0 and was in here an hour ago bricked his trying.
[07:04] Action: Tigrao has two 3.0s
[07:04] <swim> hehe ok, Im also not exactly stuck on openwrt, but I dont like sveasoft... but dd-wrt seems to be ok, except that after I fllashed the firmware (for the second time) it bricked my wrt54g
[07:04] <Tigrao> Whiterussian RC2 runs flawlessly on my 3.0s
[07:05] <OCA|> Tigrao: Well, the guy who bricked his must have done something wrong then =)
[07:05] <[mbm]> OCA|: that's always the case
[07:06] <swim> i just flashed it with dd-wrt using the web interface... then reset it
[07:06] <Tigrao> I'm even using an IRC bouncer running on one of my WRTs to connect to IRC...
[07:06] <Tigrao> I love the WRT... it isn't a wireless router to me anymore, it is a small Linux computer :-D
[07:06] <OCA|> Tigrao, exactly!
[07:06] Action: OCA| hugs his semi-functional wrt
[07:06] <[mbm]> not exactly; close enough though ;)
[07:07] <[mbm]> (wouldn't trust user accounts on the wrt)
[07:07] <swim> cool, but after bricking mine, Im going to be a lot more conservative with the replacement
[07:07] <OCA|> Multiuser on a router is.... overkill?
[07:07] <OCA|> Yes, overkill.
[07:07] <OCA|> We are in agreeance.
[07:07] <[mbm]> swim: it's really hard to do actual damage, especially if you rtfm.
[07:08] <[mbm]> you might lock yourself out but that's about it
[07:08] <Tigrao> I don't see why I would need more than root and nobody on the WRT...
[07:08] Action: Tigrao has locked himself out plenty of times
[07:08] <Tigrao> Thank goodness for failsafe mode
[07:08] <swim> i tried even using void main's revert and still couldnt get back into the router
[07:08] <[mbm]> :)
[07:08] <OCA|> Tigrao: But when OpenWRT supports the WGT634U.... I'll probably sell my WRT54G, use the money to get a USB->VGA cable, and do something very, very foolish.
[07:09] <Tigrao> heh...
[07:09] Action: OCA| wants to play DooM on a router.
[07:09] <[mbm]> swim: if you're using openwrt you use failsafe; otherwise you just use boot_wait to upload a working firmware via tftp
[07:10] <swim> [mbm], I tried that, after flashing it with dd-wrt, i couldnt connect to it, and then the power light would just blink on and off for hours
[07:10] <[mbm]> did you look to see if the tftp actually transfered? doesn't sound like it
[07:11] <swim> no it wouldnt
[07:11] <swim> it just timed out
[07:11] <Tigrao> Whenever a WRT's power light would just flash, I always somehow managed to tftp another firmware to it.
[07:11] <Tigrao> Sometimes I had to reset it over and over... but it eventually would flash again...
[07:11] <swim> hmm
[07:12] <[mbm]> name it code.bin, connect your computer to port 1 on the lan, use a 192.168.1.x on the computer (don't use 192.168.1.1, that's the wrt)
[07:12] <Piranha-> ahh [mbm] it works :)
[07:12] <swim> oh I never renamed it to code.bin
[07:12] <[mbm]> Piranha-: you mean that 5352 image I built?
[07:12] <Piranha-> nah .. the dhcp shiet
[07:12] <[mbm]> swim: in most cases that isn't needed, but it won't hurt
[07:13] <[mbm]> swim: also make sure that whatever os you're using doesn't disable the ethernet while the wrt is powered off (if it does either use a hub between or disable the ethernet powersave features)
[07:14] <swim> ok Ill try again right now before exchanging the thing, all i need to do is bring up my ethernet card to have 192.168.1.2 and start tftp (i just installed the debian pkg not sure if that alright or not) and then what do I do again?
[07:14] <swim> using debian
[07:14] <[mbm]> yeah, the debian tftp should work. "binary" "trace" "rexmt 1" "put code.bin" .. then wait, it should start counting block numbers
[07:15] <swim> ok Ill give it a shot then
[07:15] <swim> i need to bring this wireless card (eth0) down first so Ill brb
[07:15] <[mbm]> ?
[07:16] <swim> im connecting now via a pci wifi card
[07:16] <[mbm]> oh
[07:16] <swim> then I put the wrt54g in client mode to connecct
[07:16] <OCA|> Is there a way to tell bzip2 what you want the output filename to be? *doesn't see one in the manual =(
[07:17] <[mbm]> OCA|: try bzip2 -c file-to-compress > filename.bz2
[07:18] <OCA|> mbm: I was under the impression that the ">" in bash would also add anything the program tries to print to the console to the output..?
[07:18] <[mbm]> and -c makes bzip2 spit the compressed data to the console
[07:19] <OCA|> So what happens if bzip throws an error? Will the error text be at the end of the file and I won't actually see the message in the console?
[07:20] Action: OCA| will be using this as a hard drive backup script and wants to make sure he gets it right =)
[07:20] <[mbm]> errors go to stdout
[07:20] <[mbm]> er stderr
[07:21] <OCA|> aaah, k
[07:29] <OCA|> Thanks [mbm], testing my simple backup script while I sleep because sleep is good.
[07:29] Action: [mbm] wonders what happened to umaro
[07:32] <nbd> [mbm]: hey. did you notice that openwrt got a newsforge review?
[07:32] <[mbm]> cool
[07:32] <[mbm]> (wait, a *good* review?)
[07:33] <nbd> doesn't look bad to me
[07:34] <nbd> conclusion:
[07:34] <nbd> With OpenWrt, friendly and helpful volunteers have created a powerful and fun Linux system that replaces the default Linksys firmware. You can use OpenWrt to implement everything from programmable VLANs to intrusion detection on a compact, fan-less box. With OpenWrt, you will be amazed at what free software is up to these days.
[07:36] <Piranha-> damn windows and wpa not working
[07:36] <Piranha-> works fine without it, as soon as I set it, it stays at "aquiring network address"
[07:37] <[mbm]> nbd: nice; just read it.
[07:38] <hipster> hey wrt. yeah that's my problem. one way audio
[07:38] <Namaseit> wrt is a bot
[07:39] <Namaseit> :)
[07:39] <hipster> I traced the problem to NAT and the fact that SCCP is embedding the phones IP address in layer 4 which is not getting changed by NAT
[07:40] <nbd> [mbm]: and they even wrote OpenWrt instead of OpenWRT :)
[07:42] <hipster> apparently Cisco uses a hack called a "fixup" to get inside the protocol and change all the places with IP addresses. They have this in their routers and PIX. I searched online and couldn't find any references to this with OpenWRT. I was wondering if anyone has written anything link this or is working on it. If not I'll have to tackle it myself.
[07:46] <[mbm]> nbd: wow, even I get that wrong on occasion
[07:48] <[mbm]> hipster: you probably want to be searching the newtfilter mailing lists for nat helpers
[07:48] <[mbm]> er netfitler
[07:48] <[mbm]> (damn keyboard)
[07:49] <hipster> thanks I'll take a look there and see what's up
[07:50] <[mbm]> a quick google seems to suggest there's a ip_nat_sccp that does what you want
[07:51] Action: z3ro wakes up.
[07:51] <hipster> thanks. I have the iptables set up and doing the nat so I'll see if ip_nat_sccp can dig deeper into the packet and make the necessary changes
[07:52] <[mbm]> (obviously you'll have to port/compile the module for openwrt)
[07:52] <z3ro> nbd: ping
[07:52] <nbd> z3ro: pong
[07:53] <[mbm]> z3ro: host unreachable :P
[07:53] <z3ro> nbd: we need to fix arch/mips/ar7/printf.c, without the proper functions like in arch/mips/mips-boards/generic/printf.c gdb will not work.
[07:54] <z3ro> nbd: I think it's important to get gdb working now.
[07:54] <z3ro> nbd: serial_in, serial_out, promPutChar, promGetChar, etc
[07:55] <nbd> ok. i'll have a look at the printf stuff later
[07:55] <z3ro> nbd: oops, putPromChar, getPromChar
[07:55] <z3ro> nbd: okay
[07:55] <z3ro> nbd: I did a little work on it, but it did not work too well...
[07:56] <z3ro> nbd: afaik the UART's are standard so we should not need too much hacking, I think.
[07:56] <z3ro> nbd: maybe just changing the addresses for lines like: return (*(volatile unsigned int *)(mips_io_port_base + ATLAS_UART_REGS_BASE + offset*8) & 0xff);
[08:05] <hipster> mbm: I did a Google search and this looks promising. Google gave me three hits and they mentioned modules ip_nat_sccp and ip_conntrack_sccp however Google gave no links to the source for the modules. I tried a search on SourceForge but it didn't have anything either. Do you have any ideas where else to look for the source? I can do the port/compile for openwrt if I can find the source
[08:06] <[mbm]> hipster: try netfilter's cvs
[08:07] <hipster> thanks
[08:12] <jay_> anyone know if dd-wrt forces an IP update to dyndns every so often?
[08:12] <jay_> i think dyndns kills your host if the IP hasn't changed in 2 months
[08:14] <Piranha-> any particular reason why mounting an nfs share hangs for so long
[08:17] <[mbm]> jay_: they send you an email telling you to update or they'll kill the account
[08:19] <[mbm]> http://pastebin.com/340527 .. that's the email they send
[08:20] <Semhirage> i so wanna try Eagle_Fire 's briding idea but i don't wanna lock myself out of the router LOL
[08:20] <[mbm]> what was his idea?
[08:20] <Eagle_Fire> i don't recall saying anything about briding
[08:20] <Semhirage> bridging
[08:20] <Eagle_Fire> bridge wan and vlan2 so that the server gets internet, no routing
[08:21] <Eagle_Fire> i figured it would be the simplemost
[08:21] <Semhirage> Eagle_Fire: just to clarify, that would mean that my lan would also still have inet correct?
[08:21] <[mbm]> umm vlan2? are we dealing with a wrt54g1.0 here?
[08:21] <Eagle_Fire> just saying he'd put the server on another vlan
[08:21] <Eagle_Fire> figured you'd pick up on that
[08:21] <Eagle_Fire> it must be late
[08:22] <Semhirage> wrt54g v2.0
[08:22] <[mbm]> and why do you have to use the wan port? you can just plug everything into the lan (no point bridging in software if you can avoid it)
[08:22] <[mbm]> ...
[08:22] <Semhirage> [mbm]: this is my network topography as i would like it http://img375.imageshack.us/my.php?image=networktopography204ro.png
[08:23] <Eagle_Fire> he wants his lan to still be NAT'd
[08:23] <Eagle_Fire> so, to summarize, 2x ports on the back (wan and server) would be bridged
[08:23] <Eagle_Fire> the bridge would have an IP as well as the server
[08:23] <Eagle_Fire> that bridge would serve as the functional WAN interface
[08:23] <[mbm]> ever hear of dnat?
[08:24] <[mbm]> :)
[08:24] <Eagle_Fire> the second bridge would be the remaining 3 ports on a vlan and the wireless
[08:24] <Eagle_Fire> dnat would be alright
[08:24] <Semhirage> dnat?
[08:24] <Eagle_Fire> but i don't like to mess with iptables when i don't have to
[08:24] <Eagle_Fire> besides he wanted the server and the wrt to have separate ip's
[08:24] <[mbm]> Semhirage: all you want is to have a server behind the wrt that's accessable from the internet?
[08:24] <Eagle_Fire> also i don't like messing with adapter aliases when i don't have to either
[08:24] <Eagle_Fire> anyway, i need to get some sleep
[08:24] <Eagle_Fire> mbm will totally help you out, Semhirage
[08:24] Action: J4k3- done fucked around and shut down the transmitter on one of his ubiquiti cards ;)
[08:25] <J4k3-> (overheat I think)
[08:25] <Eagle_Fire> J4k3-, soak it in cola overnight
[08:25] <Semhirage> i have 2 public ip's assigned to my modem, i want 1 ip to routed directly to the server to run all services invisible to my lan, i want the lan to have the second ip
[08:25] <J4k3-> ooh, good plan
[08:25] <J4k3-> ;)
[08:25] <Eagle_Fire> it won't fix it but it sure will make it sticky
[08:25] <J4k3-> haha
[08:25] <J4k3-> I have a lightning damaged one
[08:25] <jay_> anyone know if dd-wrt forces an IP update to dyndns every so often?
[08:25] <Eagle_Fire> dd-wrt is not openwrt
[08:25] <J4k3-> I might as well urinate on it
[08:25] <Eagle_Fire> this channel is for openwrt
[08:25] <Eagle_Fire> urinating on fire smells bad
[08:25] <J4k3-> yes, yes it does
[08:26] <Eagle_Fire> i did it once
[08:26] <Eagle_Fire> and it smelled bad
[08:26] <[mbm]> Eagle_Fire: don't try it after drinking shots ;)
[08:26] <Eagle_Fire> i don't drink
[08:26] <Eagle_Fire> so i sure won't
[08:26] <J4k3-> I only drink of a sexy female is involved
[08:26] Action: Eagle_Fire high-fives [mbm]
[08:26] <Eagle_Fire> or a not-sexy-enough female?
[08:26] <Semhirage> urinating on fire after drinking lots of bacardi 151 is bad for ones skin
[08:26] <J4k3-> hah, I've learned a new rule
[08:26] <J4k3-> don't get drunk *then* decide to have sex with a girl
[08:27] <J4k3-> do it the other way around
[08:27] <[mbm]> Semhirage: ok.. I see what you're trying to do.. server has two network cards?
[08:27] <z3ro> hmm... is ftp.idsoftware.com down, or did they just drop packets from my ip, since my bash script is checking every few hours for the quake3 source code.
[08:27] <Eagle_Fire> don't get sex then decide to drink a girl?
[08:27] <Semhirage> [mbm]: correct
[08:27] <J4k3-> thats it, Eagle_Fire
[08:27] <J4k3-> haha
[08:27] <Eagle_Fire> sage advice
[08:27] Action: J4k3- cusses profusely, then hits 'submit order'
[08:28] <J4k3-> $220 for a fucking slutted waveguide.
[08:28] <J4k3-> :E
[08:28] <Eagle_Fire> hehe, slutted
[08:28] <J4k3-> yes, slutted
[08:28] <J4k3-> I'm hoping I escape the noise
[08:28] <Semhirage> i may end up ordering a routerboard and using my wrt as a bridged ap in the future
[08:28] <Semhirage> or as AP's for my local park
[08:28] <J4k3-> and don't just end up finding another set of it
[08:28] <Semhirage> =P
[08:29] <Eagle_Fire> wrt's can do routing
[08:29] <Eagle_Fire> don't shortchange them
[08:30] <Semhirage> im shortchanging the wrt's
[08:30] <Semhirage> but i'm working with the city to provide wide coverage WIFI to the local neighborhood
[08:30] <J4k3-> heh
[08:30] <J4k3-> yay for communist wifi
[08:30] <Semhirage> i need a badass router to run freeradius to track all these bitches that be payin me
[08:31] <J4k3-> I'm all for public wifi, I'm not all for tax dollars paying for it
[08:31] <Eagle_Fire> J4k3 is the wifi pimp
[08:31] <Semhirage> J4k3-: all im asking the city to pay for is the power to run the wrt boxen
[08:31] <J4k3-> Semhirage: ahhh
[08:31] <J4k3-> nice
[08:31] <Semhirage> in return i provide free wifi to the park, but charge for anywhere not in the park
[08:31] <Semhirage> =P
[08:32] <J4k3-> fair enough
[08:32] <Semhirage> i just wanna make enough money to offset the cost of the extra dsl lines i need to pay for
[08:32] <Semhirage> if i make a profit, sweet shit, just so long as i break even
[08:33] <J4k3-> yep
[08:33] <J4k3-> I feel ya
[08:33] <Semhirage> but first things first, i need to get that external ip on my server =P
[08:33] <J4k3-> profit doesn't come from the residential/small business access area.
[08:34] <J4k3-> thats the garbage collection work... it pays the bills but it doesn't fatten the pocket
[08:34] <J4k3-> silly crap like colo, webhosting, maintenance contracts, etc.
[08:34] <J4k3-> thats where the real paper is at
[08:34] <Semhirage> and the main thing im concerned with, is that when i bridge the wan and vlan2, i'll lose internet access on my actual lan
[08:34] <J4k3-> stack your mail
[08:34] <Semhirage> heh, i barely have enough to power to run my 3 boxes
[08:34] <Semhirage> i can't imagine running much more
[08:35] <[mbm]> Semhirage: http://pastebin.ca/20402
[08:37] <J4k3-> whats the power limitation?
[08:37] <[mbm]> if you don't want to do any firewalling atall then you can just change the wan to include two ports
[08:37] <J4k3-> my power is limited by a 150W isolation transformer and 335' of 14ga romex behind that ;)
[08:37] <Semhirage> ?
[08:37] <Semhirage> J4k3-: i meant actual power consumption at my apt
[08:38] <J4k3-> oh...
[08:38] <mrverbose> any idea how I could speed-up my ppp0 dial-in?
[08:38] <Semhirage> if i have my 3rd pc running and turn on the microwave i trip a breaker
[08:38] <Semhirage> =P
[08:38] <[mbm]> Semhirage: crank up the wifi, skip the microwave ;)
[08:39] <Semhirage> lmao, if the landlord won't fix it, im gonna pay an electrician to come in within the next 2 months, it gets nuts when i want a quick snack and have to shutdown a pc to heat it up
[08:39] <J4k3-> haha, you need a UPS
[08:39] <J4k3-> unplug PC, run microwave
[08:39] <J4k3-> plug PC back in when complete.
[08:40] <Semhirage> [mbm]: that setup that you pastebinned, will that give me external ip's on the router and put one of them solely to the server?
[08:40] <Semhirage> err, give me 2 external ips
[08:41] <[mbm]> Semhirage: it'd be very similar to putting a hub between the wrt and dsl, one port of the hub for the wrt, one for the server
[08:42] <Semhirage> but both the same external address right?
[08:43] <[mbm]> think about it .. if you were to put a hub/switch on the dsl
[08:43] <[mbm]> and plug in two devices
[08:43] <[mbm]> they'd both request dhcp and get an address
[08:43] <[mbm]> infact they wouldn't know or care that the other device existed
[08:43] <Semhirage> [mbm]: except i don't get dhcp from my isp
[08:44] <Semhirage> 2 static ip's on bridged dsl
[08:44] <[mbm]> ok, then just setup both devices with a static address
[08:44] <[mbm]> point still stands
[08:45] <[mbm]> the only real feature here is the fact you can put filtering on the br1 interface and filter what gets to the server
[08:45] <Semhirage> set both which devices with static ip
[08:45] <[mbm]> (if you have no interest in firewalling then you can change some settings around to increase performance)
[08:46] <[mbm]> *sigh* do I really have to draw this out?
[08:46] <swim> [mbm], could you paste your instructions to do the firmware flash with tftp for me again?
[08:46] <Semhirage> i would rather not firewall the server interface if i don't have to
[08:48] <[mbm]> Semhirage: you don't have to.
[08:48] <Semhirage> wtf, i just looked at my nvram settings, the only thing in the wan_ifnames right now is vlan1, is that right?
[08:48] <[mbm]> Semhirage: the point was that you could.
[08:49] <Semhirage> anything that increases performance i'll for =P
[08:49] <Semhirage> gah, whats up with my typing tonight
[08:50] <swim> [mbm], I cant scroll up any further to see what you typed for me
[08:50] <[mbm]> Semhirage: http://pastebin.ca/20403 .. make sense?
[08:51] <Semhirage> [mbm]: yes that makes sense
[08:51] <[mbm]> Semhirage: ok. forget what I said before. we're going to do exactly what's in that diagram
[08:51] <[mbm]> except we're going to use the switch already on the wrt
[08:52] <Semhirage> hey as long as it works....
[08:52] <Semhirage> i just noticed there's no paypal donation link
[08:52] <Semhirage> =(
[08:52] <[mbm]> Semhirage: vlan0ports="1 2 3 5*" vlan1ports="0 4 5"
[08:52] <[mbm]> set, commit & reboot
[08:53] <Semhirage> so im putting the wifi and server on one, and the rest of the lan on the other?
[08:53] <[mbm]> the above will make the lan port4 and the wan port into a mini switch
[08:54] <Semhirage> bbs i hope
[08:55] <[mbm]> server gets plugged in port 4
[08:55] <swim> [mbm], umm would you please paste your one message with the instructions on updating my firmware via tftp?
[08:56] <Weedy> http://data.4chan.org/b/src/1124433113203.jpg
[08:56] <J4k3-> bahahaha
[08:59] <[mbm]> swim: openwrt.org/logs
[08:59] <Semhirage> oh shit, i need to change my wan ip addy
[08:59] <swim> thx
[08:59] <Semhirage> i think or are we gonna fix that part yet mbm
[09:01] <[mbm]> why do you need to change the wan address?
[09:02] <[mbm]> Semhirage: http://pastebin.ca/20404 .. explaination of the above vlan stuff.
[09:02] <Semhirage> because i have it using the ip i want assigned to my server right now
[09:03] <[mbm]> oh, yeah change that
[09:03] <[mbm]> (or you can just put the server on the other ip address)
[09:04] <[mbm]> Semhirage: last diagram make any sense?
[09:05] <Semhirage> yes makes lots of sense now, just trying to figure out how im going to give each vlan its own external ip and stilll be able to connect to the wrt
[09:05] <[mbm]> (oh, forgot to mention, the reason they can get away with port 5 being in both vlans is due to the fact it's tagged, the data that the wrt recieves has headers on it saying which vlan it came from)
[09:05] <Semhirage> that much i had read about
[09:05] <[mbm]> Semhirage: right now all you need to do is set wan_ipaddr to whatever ip address you want the wrt to use
[09:06] <[mbm]> and set the server to another static ip and plug it into port 4
[09:10] <[mbm]> re.
[09:11] <Semhirage_> so far so good i think
[09:12] <[mbm]> at this point your server and wrt should have static ip addresses and you should be able to reach your server
[09:12] <Semhirage_> well so far as i can see both ip's are active
[09:13] <[mbm]> so we can move on to splitting the wifi and lan
[09:13] <Semhirage_> sure why not =P
[09:14] <Semhirage_> i got something accomplished today, might as well keep that ball rolling
[09:14] <[mbm]> by default lan_ifname=br0, which means that the lan is a bridge; the interfaces that are bridged are lan_ifnames (namely vlan0 and eth1)
[09:15] <[mbm]> so the first thing we need to do is set lan_ifname=vlan0
[09:15] <Semhirage_> lan_ifnames=vlan0 eth1 eth2 eth3
[09:15] <[mbm]> lan_ifnames doesn't matter anymore since lan_ifname isn't a br*
[09:16] <[mbm]> (you can remove lan_ifnames with "nvram unset lan_ifnames", but it doesn't really matter)
[09:17] <[mbm]> lan gets configured according to lan_proto (usually static, which means that lan_ipaddr contains the ip address)
[09:17] <[mbm]> now, we need to do something with the wireless .. are you using or plan to use wds?
[09:17] <[mbm]> (wds lets you link multiple access points wirelessly)
[09:18] <d00f> with vlan, can i a different network for each port and internet on one port ?
[09:18] <d00f> can i have...
[09:18] <Semhirage_> [mbm]: wds would be nice, but won't be happening any time soon
[09:19] <[mbm]> d00f: yes, but you only have one connection from the wrt to the switch; the more you split it the more has to travel across that single connection from the wrt to the switch, reducing throughput
[09:19] <swim> [mbm], when I tried to put code.bin it told me 'no machine specified'
[09:19] Last message repeated 1 time(s).
[09:19] <swim> sorry didnt mean to repeat
[09:20] <[mbm]> swim: tftp 192.168.1.1, "binary" "trace" "rexmt 1" "put code.bin" ....
[09:20] <swim> oh gotchyah thx brb
[09:20] <[mbm]> Semhirage_: ok, we'll set it up so wds is possible.
[09:21] <Semhirage_> awesome
[09:21] <[mbm]> wifi_ifname=br0 wifi_ifnames=eth1 wifi_proto=static wifi_ipaddr=192.168.2.1
[09:21] <[mbm]> I'm guessing the wrt is going to be dhcp server for both the lan and wifi?
[09:22] <Semhirage_> wifi yes, i tend to use static dns on my lan
[09:22] <[mbm]> I said dhcp...
[09:23] <Semhirage_> yes, dhcp on the wifi, lan doesn't use dhcp however
[09:25] <[mbm]> Semhirage_: ok.. makes it easier actually .. are you using squashfs or jffs2?
[09:25] <Semhirage_> squashfs
[09:25] <[mbm]> and you know how to edit files?
[09:25] <Semhirage_> don't i have to copy them somewhere first?
[09:26] <[mbm]> it'd be pointless to ...
[09:26] <Semhirage_> forgive me if i'm spacy, i've got 200 pages of documentation scattered over my desk
[09:26] <[mbm]> rm /etc/init.d/S50dnsmasq; cp /rom//etc/init.d/S50dnsmasq /etc/init.d/S50dnsmasq; vim /etc/init.d/S50dnsmasq
[09:26] <[mbm]> (all the files from squashfs are in /rom .. no need to back them up anywhere)
[09:29] <[mbm]> anyways .. you want to edit iface= .. should be "iface=wifi"
[09:29] <Semhirage_> that all i gotta change?
[09:29] <[mbm]> you only wanted dhcp on the wifi interfaces :)
[09:30] <Semhirage_> sounds good to me, i like it simple
[09:30] <[mbm]> with all of that set you can either run "/etc/init.d/S40network start" or just reboot
[09:31] <Semhirage> suppose i should reboot seeing as i changed all those nvram settings ?
[09:32] <[mbm]> can, but if you run the network script it'll just read the nvram settings and configure the networking
[09:47] Action: [mbm] wonders where Semhirage went...
[09:51] <Eagle_Fire> bricked!
[09:51] <[mbm]> bricked what?
[09:52] <Eagle_Fire> semhirage
[09:53] <[mbm]> can't see anywhere in what I said where he could brick it
[09:53] <J4k3> hah
[09:54] <Eagle_Fire> nothing that would lock him out either?
[09:54] <[mbm]> shouldn't be.
[09:55] <Eagle_Fire> well you know how newbies are
[09:55] <mrverbose> is it possible to drop the line without having to reload pppd?
[09:55] <Eagle_Fire> scissors B< phone cord
[09:58] <estel> i have a problem: yesterday I switched on the lights, one lamp burn out and caused a blackout; when there was power again the router didn't listen on port 22 or on 23, just the dns daemon listened; so i reseted the router, turned boot_wait on and tried to install openwrt-wrt54g-squashfs on my router with the windows tftp client (my linux box has no pppoe drivers and the router is still out or ordern ;-) ), but I just receive a timeout, although I did the same d
[09:59] <estel> any idea how I can flash the router or which tftp client I should use?
[09:59] <Eagle_Fire> have you left the router unplugged for several hours and trying again
[10:00] <estel> Eagle_Fire: no; but after some tries i decided to sleep - so should i try just once more?
[10:00] <[mbm]> don't use an os that'll disable the ethernet when the wrt is turned off (like windows ...) set the pc to 192.168.1.x (not 192.168.1.1, that's the wrt), plug it into port 1, rename the openwrt*.bin to code.bin, tftp 192.168.1.1. "binary" "trace" "rexmt 1" "put code.bin"
[10:00] <Eagle_Fire> did you leave it unplugged while you slepf
[10:01] <Eagle_Fire> also, check whether it's running low on routing fluid
[10:01] <[mbm]> and a power outage shouldn't break the firmware
[10:01] <Eagle_Fire> and hey now, disabling while unplugged serves an important purpose
[10:01] <estel> the firmware isn't really brake: I had to reset it as the sshd didn't start
[10:02] <[mbm]> low power after the power outage may prevent the wrt from fully booting
[10:02] <estel> the dnsd worked...
[10:02] <[mbm]> or you may have changed the configuration and forgot to save your changes
[10:02] <[mbm]> things like telnet and sshd don't magically stop working
[10:03] <[mbm]> (although telnet does get disabled if a password is set)
[10:03] <estel> I know, propably it was just a problem with one init script
[10:03] <[mbm]> Semhirage: long time no see.
[10:03] Action: Eagle_Fire is away
[10:03] <estel> but now i have an old firmware and no working configuration, so i want to install a new firmware and then configure it again
[10:04] <Semhirage> -_-
[10:04] <Semhirage> 2 small problems while i was gone LOL
[10:04] <Semhirage> had an error on the network start script, which also hung a reboot, and then i wiped the nvram
[10:04] <Semhirage> =P
[10:05] <[mbm]> uh.. what?
[10:05] <estel> but before i quit: are there other tftp clients that work on windows (or on linux)?
[10:06] <Semhirage> [mbm]: root@Xion:~# /etc/init.d/S40network start
[10:06] <Semhirage> route: SIOC[ADD|DEL]RT: File exists
[10:06] <Semhirage> Error for wireless request "Set Frequency" (8B04) :
[10:06] <Semhirage> SET failed on device eth1 ; Invalid argument.
[10:06] <GO-Yaa> Hi! Is there any webadmin mod to the OpenWrt?
[10:06] <[mbm]> Semhirage: you can safely ignore those
[10:07] <Semhirage> -_-
[10:07] <Semhirage> well, it caused me to lose all network connectivity
[10:07] <[mbm]> were you on wireless at the time?
[10:07] <Semhirage> so i rebooted, which hung the router and locked me out
[10:07] <Semhirage> no, no wireless right now
[10:07] <Semhirage> so i tried to failsafe, but ended up resetting the nvram instead
[10:07] <Semhirage> =/
[10:07] <[mbm]> how'd you reset nvram?
[10:08] <Semhirage> held reset button while powering on
[10:08] <[mbm]> did you look to see if it actually reset?
[10:08] <Semhirage> oh yea, its reset
[10:08] <[mbm]> (on most models that does nothing)
[10:09] <Semhirage> thank god i printed out the nvram vars before i started chagning stuff
[10:09] <Semhirage> =P
[10:09] <Semhirage> it didn't have dns, or wan_ anything after that
[10:09] <Semhirage> it was foooooooked
[10:09] <[mbm]> so did you write down the changes or do we have to restart from the begining?
[10:09] <Semhirage> im up to the wifi part, cuz that was what broke it
[10:10] <estel> i'll try once more; thanks for help
[10:10] <Semhirage> but now that i've got a blank nvram slate, and easy enough to fix, i'll give it another shot
[10:10] <[mbm]> Semhirage: I still don't see what would have broken it
[10:11] <Semhirage> i think it was maybe a conflict with an old nvram setting
[10:12] <Semhirage> i had 3 pages of 3 columns of nvram var's
[10:13] <[mbm]> try just this - nvram set lan_ifname=vlan0; ifdown lan; ifup lan
[10:13] <[mbm]> (done as one long command)
[10:13] <Semhirage> already got that changed over
[10:13] <Semhirage> =P
[10:13] <Semhirage> did that as part of my trying to restore network
[10:13] <[mbm]> so do you have a br0 showing up in ifconfig?
[10:14] <Semhirage> no
[10:14] <[mbm]> ok.
[10:14] <[mbm]> so the only thing you have left to do is set wifi_* ?
[10:14] <Semhirage> correct
[10:15] <[mbm]> nvram set wifi_ifname=br0; nvram set wifi_ifnames=eth1; nvram set wifi_proto=static; nvram set wifi_ipaddr=192.168.2.1; ifup wifi; wifi up
[10:15] <J4k3> ah-ha... so wifi_ is the universal adjustment method now... that'd explain how the wifi binary gets its commands
[10:15] <[mbm]> J4k3: no.
[10:16] <[mbm]> wifi_* is the same as lan_* and wan_* .. it's NOT for SSID, beacon, fragmentation or any other *RADIO* configuration
[10:16] <J4k3> well... 'wifi up' seemed to be smart enough to tell my atheros card to go into AP mode, essid 'OpenWRT' ;)
[10:17] <J4k3> ahhh
[10:17] <J4k3> ok
[10:17] <Semhirage> [mbm]: so far so good
[10:17] <Semhirage> haven't locked myself out yet
[10:17] <[mbm]> wifi_* is only provided for setting the *IP_ADDRESS* if the wireless isn't part of another interface
[10:17] <J4k3> I didn't feel like learning at that moment, so I just disabled it in the scripts and threw a few iwconfig lines in.
[10:18] <[mbm]> all the *RADIO* settings are in wl0_*
[10:18] <J4k3> ahh
[10:18] <[mbm]> and controlled by "wifi up"
[10:18] <[mbm]> "ifup wifi" is for setting the *IP_ADDRESS* based on wifi_*
[10:18] <J4k3> well, will wl0 adjustments affect the ath0 interface at this point in time in openwrt?
[10:18] <[mbm]> Semhirage: well, your wireless should be up now :)
[10:18] <Semhirage> awesome
[10:19] <[mbm]> J4k3: yes :)
[10:19] <Semhirage> wish i had a wifi enabled pc to test it
[10:19] <Semhirage> fkn wife left her notebook at work
[10:19] <J4k3> [mbm]: ahh, ok... that'll work ;)
[10:19] <Semhirage> so now i have to set all the wl0_ nvram vars for wireless manually right?
[10:19] <[mbm]> Semhirage: and I don't have a paypal link, but there is a link on openwrt.org/mbm
[10:20] <Semhirage> =D i'll see what i can do
[10:20] <[mbm]> Semhirage: actually you don't need to set most of them, try this - ipkg install wl; wl status
[10:21] <[mbm]> should say something like "ssid: openwrt" "mode: managed"
[10:21] <Semhirage> SSID: ""
[10:21] <Semhirage> Mode: Ad Hoc RSSI: 0 dBm noise: 0 dBm Channel: 1
[10:21] <Semhirage> BSSID: 00:00:00:00:00:00 Capability: IBSS ShortSlot
[10:21] <Semhirage> Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
[10:21] <[mbm]> ah. you haven't upgraded the wifi package
[10:21] <Semhirage> o.0
[10:22] <[mbm]> ipkg update; ipkg install wificonf; wifi up
[10:22] <Semhirage> Package wificonf (2) installed in root is up to date.
[10:22] <[mbm]> hrm.
[10:23] <Semhirage> i only have 3 nvram vars for wl0_
[10:23] <[mbm]> anyways, there's a minor bug with the wifi stuff in rc2 that if none of the wl0_* vars exists it doesn't configure things right
[10:23] <Semhirage> wl0id=0x4320
[10:23] <Semhirage> wl0gpio2=0
[10:23] <Semhirage> wl0gpio3=0
[10:23] <estel> i still don't manage it to install a new firmware: atftp and the windows tftp client don't work (at least the way i'm using them)
[10:23] <[mbm]> you should have wl0_mode=ap wl0_ssid=OpenWrt wl0_channel=11 (or atleast a value for all those ..)
[10:24] <[mbm]> then run "wifi up"
[10:24] <estel> bootwait is on: because the dms led is on for few seconfs when i boot my wrt54gs
[10:24] <[mbm]> estel: dmz on solid or flashing?
[10:25] <estel> solid
[10:25] <[mbm]> estel: sounds like you installed an openwrt image, openwrt booted, found some jffs2 data but was unable to boot from it .. try failsafe
[10:26] <Semhirage> yay my wireless is up, managed and has an SSID
[10:26] <Semhirage> w00t
[10:26] <estel> it can boot: nmap says there is a dnsd running
[10:26] <estel> and there is...
[10:26] <estel> so the (old) firmware on the router still works
[10:26] <J4k3> estel: serial term!
[10:27] <estel> (1) where is the serial port and (2) how do i use it ;-)
[10:28] <estel> btw: when i reset the router i can access the old firmware that I've installed in february
[10:29] <[mbm]> estel: openwrt will turn the dmz led on at the start of bootup and off when fully booted
[10:29] <estel> openwrt does it
[10:29] <[mbm]> if the dmz led stays on you either didn't wait for it to boot or something has prevented it from finishing
[10:29] <Semhirage> or its in failsafe
[10:29] <Semhirage> =D
[10:30] <estel> it doesn't stay on
[10:30] <[mbm]> in failsafe it flashes like crazy
[10:30] <Semhirage> o.0
[10:30] <Semhirage> err, when i failsafed, which actually reset the nvram, it stayed on solid the whole time
[10:30] <Semhirage> but it still let me log in through ssh
[10:30] <estel> i can login using telnet
[10:31] <[mbm]> Semhirage: if it wasn't flashing then you weren't actually in failsafe
[10:31] <[mbm]> estel: ok, so what's the issue?
[10:31] <estel> i'll try to explain once more:
[10:31] <[mbm]> you have a working openwrt .. you want to reflash with something else?
[10:32] <estel> when i just bootup normally no sshd oder telnetd starts; when i boot in failsafe a telnetd starts
[10:32] <estel> but all my settings and configurations are lost, so i want to upgrade to a newer firmware
[10:32] <nbd> estel: did you run firstboot in failsafe?
[10:32] <[mbm]> not much point if you're just going to upgrade ...
[10:32] <estel> no
[10:32] <[mbm]> upgrade first, boot failsafe and then run firstboot
[10:33] <estel> but if i want to upgrade i have to install the latest firmware?
[10:33] <[mbm]> if you're still having issues with tftp see the sticky post at the top of the forum
[10:33] <[mbm]> and no you don't have to flash back to the linksys firmware
[10:33] <[mbm]> (also upgrade instructions in the 00-readme)
[10:34] <[mbm]> basically get a trx file and use mtd to write to the flash
[10:34] <Semhirage> w0w this was pretty easy
[10:34] <Semhirage> thx again [mbm]
[10:34] <Semhirage> i can actually get a few hours of sleep tonight and start on my server services tomorrow
[10:34] <Semhirage> =P
[10:36] <Semhirage> now for iptables and firewalling, i only have to worry about vlan0 and br0 right?
[10:37] <[mbm]> Semhirage: you said you didn't want to firewall the server, and the wrt will firewall connections from the wan (internet) to the wrt by default
[10:37] <jkp> guys - im having a wierd issue with my router and modem and im not really sure how to go about solving it. I have a dlink 300g+ that is handling the pppoa connection to the net, and it is connected to my WRT54GS running openwrt. The thing i dont understand is that when i connect my computer to the modem directly i get a dhcp address assigned and i can actually talk to the modem (its address is 192.168.0.1), however, with the wrt co
[10:37] <[mbm]> Semhirage: if you want to play around with port forwarding and such, look at /etc/firewall.user
[10:38] <Semhirage> excellent, just tested with nmap, so far working like a charm
[10:38] <Semhirage> lan is firewalled tighter than a frogs ass, and server is running its own firewall with proper allowances
[10:38] <[mbm]> oh, that's another thing .. the firewall will reject most nmap scans, even if the port is actually open
[10:38] <[mbm]> :)
[10:38] <Semhirage> even nmap -sS
[10:39] <jkp> anyone follow what i just said before it gets scrolled off the screen?
[10:39] <[mbm]> Semhirage: the only one that'll actually give you an honest answer is the connect() scan
[10:39] <Semhirage> o.0 and how do i run that bad boy
[10:39] <Semhirage> =P
[10:40] <[mbm]> jkp: you typed more than can fit in one message .. it got cut at "with the wrt co....."
[10:40] <jkp> ...nected to it, it is not visible to myu network. I have been having a wierd issue where the wrt refuses to connect through the dlink after a power cut, and i am in this position now. what i am wondering is how i can setup the wrt so it is acting like my computer is now, that is as a client to the dlink, and then have it route all traffic from the network out onto the net via the dlink? my machine is outward facing on the net at
[10:40] <jkp> [mbm]: thanks
[10:40] <jkp> did that cut again?
[10:40] <[mbm]> Semhirage: -sT .. it's the slowest of all scans
[10:40] <estel> bin files have a vendor specific header, trx files have not - but why do i need a trx file for flashing? why will a bin file not work?
[10:41] <[mbm]> jkp: yeah .. "on the net at....."
[10:41] <jkp> ....via the dlink? my machine is outward facing on the net at the moment in this way, so i see no reason why the wrt cant act this way....an y thoughts?
[10:42] <[mbm]> jkp: sometimes the ethernet auto negotiation fails .. saw it happen where a dlink and a linksys refused to see eachother even with a cable directly connecting them
[10:43] <jkp> yer, its a pita
[10:43] <[mbm]> put a stupid hub between them and it was fine
[10:43] <jkp> atm i cant get them to see each other
[10:43] <jkp> really?
[10:43] <Semhirage> [mbm]: even with -sT the lan ip of the wrt is locked down tight, not a single port open
[10:43] <jkp> hmmmm...any other solution at all?
[10:43] <jkp> and is that really most likely what it is then?
[10:44] <[mbm]> jkp: when you connect devices they try to automatically figure out the link speed (10 or 100) and duplex (wrt will also try to figure out if it's needs to crossover or not)
[10:45] <[mbm]> some devices just can't negotiate with eachother
[10:45] <jkp> shit
[10:45] <jkp> thats a pain....is there some way i can log this negociation so i can verify this is the issue?
[10:45] <jkp> is there something under /proc?
[10:46] <[mbm]> what model wrt is it?
[10:46] <jkp> wrt
[10:46] <jkp> oops
[10:46] <jkp> wrt54gs v2 i think
[10:46] <[mbm]> (says on the bottom, "model no")
[10:46] <jkp> ok - ill go check
[10:48] <jkp> it just says wrt54gs
[10:48] <jkp> but it has the larger memory i know that much
[10:49] <[mbm]> no version number after "WRT54GS"? that means it's a v1.0
[10:49] <jkp> no - it seems to have no number, but i was sure it was a v2
[10:49] <jkp> im not sure why
[10:50] <[mbm]> jkp: well unless you've been playing mix and match with the cases that's a wrt54gs v1.0
[10:50] <jkp> nah :)
[10:50] <[mbm]> (which is based on a wrt54g v2.0)
[10:50] <jkp> ah
[10:50] <jkp> thats what im thinking then
[10:51] <[mbm]> they just take the v2.0 boards and add more ram and flash
[10:51] <jkp> yeah - thats it
[10:51] <jkp> whats the deal with the GS v2 then?
[10:51] <[mbm]> that's based on the wrt54g v3.0
[10:52] <jkp> ok - so any way to check this situation out a bit more thoroughly?
[10:54] <[mbm]> right .. the ethernet switch in there is a adm6996 .. there's a program called amdcfg which can give you the status of the switch but admcfg has a few bugs which can temporarily reset the switch configs (until a reboot) so it's not exactly recommended or supported for regular use
[10:54] <jkp> ok
[10:54] <jkp> ill log in now
[10:54] <[mbm]> you'll have to look on tracker.openwrt.org to find the url to admcfg
[10:55] <jkp> ah - its not default?
[10:55] <[mbm]> then it's just "ipkg install http://..."
[10:55] <jkp> shit ... thats bad, i cant get the router online
[10:55] <[mbm]> (what part of "not supported" didn't you understand?)
[10:55] <jkp> no - thats fine
[10:55] <[mbm]> hence not in the default set
[10:55] <[mbm]> if you can't get the router online you can scp it over to the router
[10:56] <jkp> yeah
[10:56] <[mbm]> admcfg will give you the current switch status (sort of like ifconfig) and you can also manually set the speed and duplex of the ports
[10:56] <jkp> so - i could override the speed?
[10:56] <[mbm]> right
[10:56] <jkp> ie - set it correctly
[10:57] <jkp> cool
[10:57] <Semhirage> omfg im about to get angry
[10:57] <Semhirage> i edit a file in nano using nano -w and it truncates the entire file onto line
[10:57] <Semhirage> err 1 line
[10:57] <[mbm]> jkp: just keep an eye on the vlans .. every now and then admcfg will move the vlans around on you
[10:58] <jkp> [mbm]: i always wondered what it was in the router that was connecting to the net, since i couldnt see anything responsible for that
[10:58] <jkp> so, in this case, the router is not doing that at all
[10:58] <jkp> its just negociating a connection to my modem which is connected
[10:58] <jkp> so
[10:58] <[mbm]> router is connected to a 6 port switch; 5 of the ports are on the back (lan 1-4 and wan)
[10:59] <jkp> why cant i see the 192.168.0.0 network through the router?
[10:59] <[mbm]> switch has a vlan feature which basically breaks it up into smaller switches
[10:59] <jkp> [mbm]: yeah
[10:59] <jkp> i know you can set it how you want
[10:59] <[mbm]> so the wan becomes vlan1 and the lan becomes vlan0
[10:59] <jkp> bridge the wlan with a port, or a couple of ports or whatever
[10:59] <[mbm]> a single ethernet connection between the switch and the wrt ...
[11:00] <[mbm]> (aka port 5 of the switch)
[11:00] <jkp> is the wan...
[11:00] <[mbm]> no.
[11:00] <[mbm]> the external connector labeled wan is 0
[11:00] <[mbm]> the lan ports are 1-4
[11:00] <jkp> ok
[11:01] <[mbm]> the connection inside the wrt, that goes from the wrt's ethernet card to the switch is 5
[11:01] <[mbm]> it's a tagged port so the vlan headers are left intact
[11:01] <[mbm]> meaning that packets from the lan get tagged with vlan0
[11:02] <[mbm]> and packets out of the wrt to the lan also get tagged as vlan0 which tells the switch where they go (what ports)
[11:02] <KeefR_> or tagged with another vlan-id ;-)
[11:02] <[mbm]> (switch has a configuration, ports 1-4 are vlan0)
[11:03] <[mbm]> .. done via the vlan* nvram variables and sent to the switch by the ethernet driver
[11:03] <jkp> so are you saying that the router can see 192.168.0.0 (the modems network) but i cant?
[11:03] <estel> I don't manage it - i have an old firmware and want to install a new one - where can i find informations about how to do that?
[11:06] <Semhirage> -_- nmap sucks
[11:06] <[mbm]> jkp: the way it's setup the lan and the wan ports almost become separate interfaces (vlan0 and vlan1), you won't be able to see the wan network directly from the lan
[11:07] <[mbm]> even though it's actually the same switch
[11:07] <jkp> so could i see it from the router? ie - if i wanted to talk to the modem, could i forward the correct port to my network?
[11:07] <Semhirage> just like my server can't see my network, if i unplug its eth1 =P
[11:08] <GO-Yaa> is there any way to backup my current fw and setting from my router to a .bin file?
[11:08] <[mbm]> jkp: think of it as two network cards. the router is able to see both of them.
[11:08] <mencey> somebody compiled mmc.c?
[11:08] <[mbm]> GO-Yaa: a bin file? no. see openwrt's 00-readme for backup instructions
[11:09] <GO-Yaa> thx
[11:09] <jkp> [mbm]: yeah exactly, so i ought to be able to set the router to froward ports from one to the other if i need temp access, say to the web configuration of the modem
[11:09] <[mbm]> mencey: don't think there are any compiled versions (mostly since everyone likes to change the gpio pins, which need to be defined at the top of the file)
[11:09] <d00f> [mbm]: does it exist risk to delete br device and create vlan on each port ? does it make impact on wrt54gs performance ?
[11:09] <[mbm]> jkp: sure.
[11:10] <jkp> [mbm]: cool - thats the only reason i need access to that network
[11:10] <jkp> and i can only connect atm by disconnecting the modem from the router and connecting to the modem directly
[11:11] <[mbm]> d00f: when two ports share the same vlan, going from port to port is handled by the switch. when you put them in separate vlans, then they have to find a path across the vlans .. having to go through the wrt's internal network will slow down the throughput
[11:11] <[mbm]> but yes, it can be done
[11:12] <[mbm]> difference is that the switch you have 100 full duplex between anything
[11:12] <[mbm]> but the wrt is a single 100 port
[11:13] <[mbm]> it's impossible to go vlan -> wrt -> vlan at full speed
[11:13] <estel> what does "source port mismatch" mean?
[11:14] <[mbm]> estel: in what context? (where did you see that?)
[11:14] <Semhirage> [mbm]: thanks again for the help, i'll see about taking care of something on that wishlist, and have a good night, IM OUT -ZzZzzzzzz
[11:14] <[mbm]> Semhirage: *grin*
[11:14] <mencey> mbm: ok, I can send one fotografia with my gpio pins?, is that the original photos are not seen well.
[11:14] Action: [mbm] loves teaching people networking
[11:15] <[mbm]> fotografia? (is that a horrible spelling of "photograph?")
[11:16] <Semhirage> lol sounds like deutsche to me
[11:16] <estel> [mbm]: using atftp; I've also cleared my arp table (and it was empty...)
[11:16] <estel> may a static entry help?
[11:16] <[mbm]> Semhirage: silly germans, always saying "die!" all the time ...
[11:16] <Josephus> lol
[11:16] <mencey> mbm: picture, i am spanish ;)
[11:17] <[mbm]> mencey: "photograph" .. anyways, once you have the mmc module working the sd card shows up as a drive (block device) which you then mount to whatever directory
[11:18] <[mbm]> your photos will be somewhere on the sd card labeled DSC*jpg
[11:19] <KeefR_> d00f: I had additional 3 vlans on my wrtg, works good, but if you need performance, you should choose other hardware
[11:19] <sgn> Anyone had luck using WPA2-WDS?
[11:20] <d00f> KeefR_:ok thanks, i keep the default setting
[11:20] <[mbm]> KeefR_: individually the vlans work great, it's just the speed between the vlans that sucks (partially because the wrt can't keep up, and partially because the connection from the wrt to the switch gets flooded the more you segment the switch)
[11:21] <d00f> if i understand, wrt has a bad hardware ? i cant do 100Mb on each port ?
[11:21] <KeefR_> [mbm]: well, it wasn't a big problem in my environment, had another accesspoint connected with the 3 tagged vlans, so the accesspoint already is one limit ;-)
[11:21] <Kaloz> re
[11:21] <KeefR_> d00f: it can do 100mb on each port if the packets don't have to go through the wrt, but are handled by the switch hardware
[11:22] <[mbm]> d00f: the switch can do a 100 full duplex, the wrt doesn't have enough cpu power to crank out packets at 100 full
[11:22] <donlaverty> is anyone here who knows a bit about tc?
[11:22] <sgn> [mbm]: probarbly only you and nbd who has the answer to this question: Is it supposed to be possible to run WDS over WPA2?
[11:22] <[mbm]> sgn: yes. (haven't tried that one, heard you need to set the ssid's identical ..)
[11:23] <sgn> [mbm]: you need to matching ssid's to get it working with at all with encryption
[11:23] <donlaverty> i want to do the following: root@OpenWrt:~# tc qdisc add dev vlan2 root tbf rate 850kbit latency 50ms burst 1540
[11:23] <sgn> set matching ssid's even
[11:24] <[mbm]> d00f: if a packet travels "vlan -> wrt -> vlan" then the wrt has to recieve the packet and retransmit the packet .. as already mentioned, the wrt can't handle 100 full duplex (and it'd be impossible to get full duplex since you're already sending and recieving)
[11:25] <donlaverty> which is answered by tc with RTNETLINK answers: Invalid argument - but the exact same command works on my linux box (no wrt) - i just cant figure out what the invalid argument is
[11:25] <[mbm]> .. not to mention the software filtering the wrt would perform on the packets as they crossed
[11:26] <[mbm]> donlaverty: did you load the sch modules?
[11:26] <sgn> [mbm]: thing is, I need to allow both psk1 and psk2 on the net. if i set akm=psk psk2, the wrt seems to get confused as to which encryption to use for WDS
[11:27] <sgn> perhaps setting psk2 psk makes it try psk2 first?
[11:27] <donlaverty> mbm: no - seems if i didn;
[11:27] <donlaverty> 't... will try that
[11:28] <[mbm]> sgn: I don't know if you can have clients and wds use different encryption schemes (different keys yes ....)
[11:28] <donlaverty> mbm: thank you - that was the problem!
[11:29] <sgn> [mbm]: perhaps if i used a separate wds akm and key?
[11:30] <[mbm]> hmm..
[11:30] <KeefR_> on my other aps I've got the option of running multiple wlans (virtual wlans) with different encryption settings and stuff like that. that on wrt54g would be really cool ;-)
[11:30] <[mbm]> sgn: the script seems to allow wl0_akm (clients) and wl0_wds_akm (wds connections)
[11:31] <[mbm]> (look at /sbin/hotplug...)
[11:31] <sgn> yes, but does it allow both of them, or does it only search for both variables
[11:31] <sgn> it seems to "quit" after finding one of them
[11:32] <[mbm]> sgn: right .. hotplug only has to deal with wds
[11:32] <[mbm]> so it trys wl0_wds* variables before falling back to wl0_* variables
[11:33] <sgn> so theoretically, it's possible=
[11:33] <sgn> ?
[11:33] <[mbm]> looks like it
[11:34] <sgn> then ill give it a try
[11:34] <[mbm]> wl0_akm=psk wl0_wds_akm=psk2 ...
[11:35] <sgn> i can use _akm=psk psk2 and _wds_akm=psk2, right?
[11:39] <[mbm]> I don't think you get to do more than one value per var for those
[11:39] <sgn> well, if i use only one AP, it can do both psk and psk2
[11:40] Action: [mbm] really hasn't messed with the wpa stuff much
[11:40] <sgn> [mbm]: rebooting them now... see you on the other side :)
[11:42] <[mbm]> sgn: just found it .. options are listed in /etc/init.d/S41wpa .. "psk psk2" is a valid choice
[12:02] <elenion> re
[12:03] <elenion> finally i've managed to install the new firmware; the data was sent and the last message was something like "ACK received"
[12:04] <elenion> but now I cannot access the router
[12:04] <elenion> ping doesn't work and so does arping
[12:05] <elenion> the power led is on; dmz and wlan both off;
[12:05] <elenion> any idea?
[12:06] <elenion> i've used atftp as described on the install page
[12:07] <[mbm]> it's only forced to 192.168.1.1 for tftp, once it boots it'll be whatever address you last configured it for
[12:07] <elenion> but at least arp should work
[12:07] <elenion> arp is more low level than ip
[12:07] <[mbm]> an arp to the wrong ip does nothing
[12:08] <elenion> no, arping MAC
[12:08] <elenion> and that is independent from ip
[12:09] <[mbm]> estel: reboot the router, what leds come on?
[12:10] <estel> one mom
[12:11] <estel> first power led flashes, than power and dmz led are on, after a while dmz turns off
[12:11] <mencey> somebody has installed a SD in wrt54g version 2.0?
[12:11] <estel> what is 'SD'?
[12:12] <mencey> SD card
[12:15] <J4k3> damn these silly bob dobbs screen savers.... Bubb Rubb kicks Bob Dobb's ass.
[12:15] <J4k3> with a machete.
[12:15] <[mbm]> estel: sounds like it booted. if you can't find it then try failsafe.
[12:16] <mencey> estel: http://www.palmstore.com.ar/thezone/images/1131%20sd%201gb%20Kingston.jpg
[12:19] <estel> that worked
[12:19] <estel> i can connect to white russian using telnet ;-)
[12:20] <Rawplayer> :-)
[12:20] <estel> what to do next? should i reboot the router once more to look if it has now the right ip or first looking for wrong options in nvram?
[12:21] <estel> in fact lan_ipaddr is set to 192.168.1.1
[12:21] <Rawplayer> read the manual
[12:23] <[mbm]> estel: you got in via failsafe? run firstboot.
[12:23] <[mbm]> sounds like the jffs2 was trashed out from a previous install
[12:24] <estel> already done
[12:24] <kender> hello!
[12:25] <[mbm]> estel: did that fix normal boots?
[12:30] <jkp> [mbm]: which port an i looking at setting with admcfg?
[12:30] <jkp> port 5?
[12:30] <jkp> or port 0
[12:31] <KeefR_> hm, what's currently the cheapest source for a wrt54g in germany? still mediamarkt online for 50 euro?
[12:33] <schlitzer_ed> ich denk mal ja ;-)
[12:33] <KeefR_> *g*
[12:33] <[mbm]> jkp: 0.
[12:34] <jkp> [mbm]: whats the help switch?
[12:34] <[mbm]> umm.. -h?
[12:34] <jkp> (btw....i notice you are being very modest here...you wrote the thing!)
[12:34] <jkp> yeah - -h is not giving anything
[12:35] <jkp> i wonder if i have teh correct version installed
[12:35] <[mbm]> not even sure it had a help screen
[12:35] <jkp> ok - so, i just need to set it to 100baseT
[12:36] <jkp> no man page is a bit of a showstopper for someone not in the know :/
[12:36] <jkp> found your post about it tho<
[00:00] <ToR\L> ifconfig vlan1:1 IP down
[00:00] <Marta> yes
[00:00] <Marta> my other ip is 192.168.1.100
[00:00] <donlaverty> marta: most time that error-message is caused by a faulty arp entry - you can delete that by arp -d ( i think ) but it is written in the troubleshooting page too
[00:01] <donlaverty> ( someone mentioned it earlier )
[00:01] <ToR\L> think he turned the wrong one down
[00:01] <ToR\L> ;)
[00:01] <Marta> ok
[00:01] <Eagle_Fire> uh oes
[00:02] <ToR\L> turned the wrong one down? :)
[00:02] <Semhirage> ack
[00:02] <ToR\L> Semhirage: how can your isp only give you two ips? are they in the same range?
[00:02] <Semhirage> that was not kewl
[00:02] <Semhirage> that was not kewl at fucking all
[00:02] Action: Semhirage is staying away from aliases
[00:02] <Semhirage> no turned the right one down
[00:02] <Semhirage> something didn't like it though
[00:02] <swim> hmm so I have two choices of firmwares for thw wrt54g the jiffs2.bin or the squashfs.bin ?
[00:03] <Semhirage> first 3 octets are the same
[00:03] <ToR\L> whats your subnet mask?
[00:03] <Semhirage> then i have .81 and .178
[00:03] <Semhirage> subnet mask 255.255.255.0
[00:03] <ToR\L> ouch
[00:03] <ToR\L> they must filter just those 2 out to you
[00:03] <Eagle_Fire> that's just asking for a bridgy solution
[00:03] <Semhirage> it works well enough
[00:04] <Semhirage> although the bridging solution is looking better and better
[00:04] <Semhirage> =P
[00:04] <ToR\L> aliasing two ips to the same interface in the same range, doesn't mess up your routing table and just associates 1 mac addy with two ips
[00:04] <ToR\L> should work just fine
[00:04] <Semhirage> normally it does
[00:04] <Semhirage> when i had it coming into just my server, worked fine
[00:04] <donlaverty> marta: you can try to disconnect the pc you use to flash the device for some time, than connect, plug in , then push the firmware
[00:04] <ToR\L> well the box is just linux
[00:04] <Semhirage> but it put some nasty overhead on the server
[00:05] <ToR\L> an alias put overhead on the server?
[00:05] <ToR\L> is it a 33mhz 486?
[00:05] <Semhirage> 400mhz k6-2
[00:05] <Semhirage> =P
[00:06] <Eagle_Fire> damn, aren't those heatbeasts
[00:06] <ToR\L> I think it depends on how your isp routes those ips out to you
[00:06] <ToR\L> what kinda connection is it?
[00:07] <Semhirage> speakeasy onelink dsl
[00:07] <Semhirage> no dhcp
[00:07] <ToR\L> giving you two ips in a /24 with that much space in between is dumb
[00:07] <Semhirage> bridged connection
[00:07] <ToR\L> you live out near oregon?
[00:07] <Semhirage> hell no
[00:07] <Semhirage> lol
[00:07] <ToR\L> a friend of mine used to work for speakeasy in oregon
[00:07] <donlaverty> anyone here who uses tc?
[00:07] <Semhirage> mke WI
[00:07] <ToR\L> ahh
[00:07] <[mbm]> ToR\L: you could, but why?
[00:07] <ToR\L> bridged dsl connections are a pain
[00:08] <ToR\L> [mbm]: my point exactly
[00:08] <ToR\L> its like route out a /24 to a switch you're on, and filter everything but 81 and 178
[00:08] <ToR\L> kinda a dumb way to do it
[00:09] <ToR\L> I woulda said, here's a /29 have fun or at least do pppoe and radius or something
[00:10] <Eagle_Fire> i'm sure they had a reason to do it that way
[00:12] <ToR\L> is there qos in this whiterussian?
[00:12] <ToR\L> I'm still running one fom may 25th
[00:12] <ToR\L> I should say, is there qos packages available for whiterussian, latest ver
[00:13] <Semhirage> is it my correct understanding that all scripts in /etc/init.d/ are executed on startup?
[00:14] <DeltaF> yes
[00:14] <ToR\L> I sure hope so
[00:14] <ToR\L> ;oD
[00:14] <DeltaF> ;)
[00:14] <Semhirage> -_-
[00:14] <Semhirage> smartasses
[00:14] <Semhirage> im used to having to set which inits are run based on runlevel
[00:15] <Eagle_Fire> i think it's anything matching S[0-9][0-9]*
[00:15] <Semhirage> ahh ok
[00:15] <Eagle_Fire> in the order of the numbers
[00:15] <DeltaF> at least you aren't a complete newb then...
[00:15] <DeltaF> rcS starts it going
[00:15] <Semhirage> right
[00:15] <Semhirage> ok it makes sense now
[00:15] <Semhirage> should be easy enough to write up a bridge script for my interface then
[00:16] <Semhirage> put it in right after S40network
[00:16] <Eagle_Fire> best of luck
[00:16] <Eagle_Fire> it might confuse S45firewall
[00:16] <Eagle_Fire> but you'll have to rethink the firewall anyhow
[00:16] <Semhirage> heh, firewalls scripts can be h4ked
[00:19] <DeltaF> you know about how it bridges now, right?
[00:20] <DeltaF> with nvram entries etc.
[00:20] <gzp> yo guys. I have a senao 3054cb3deluxe ap with a weird problem. After making high traffic (downloading something, or measuring the bandwidth) the lan part freezes and ap stops responding to the lan while i still can ping the ap via wireless. Only an ap reboot helps. Well, tried with different cards, clients, network cables, switches, always the same result. I'm able to reproduce the problem within a few secs. This annoys me a lot, and would like buy
[00:20] <Eagle_Fire> bu?
[00:21] <Eagle_Fire> i think i heard of a porblem like this that was solved by overclocking the router
[00:21] <gzp> how?
[00:21] <gzp> tried several older firmwares too
[00:22] <DeltaF> which ap you have?
[00:22] <DeltaF> wrt?
[00:22] <gzp> senao 3054cb3 plus deluxe
[00:22] <Eagle_Fire> deltaf, you're inattentive
[00:22] <DeltaF> i thought I misunderstood..
[00:22] <fishhead> http://www.theinquirer.net/?article=25496
[00:23] <DeltaF> the wrt54g v2.2 and v2 were the ones with the overclock issue.
[00:23] <ToR\L> hey those are both of mine
[00:23] <crashev> what overlock issue?
[00:24] <DeltaF> i've never heard of senao
[00:24] <ToR\L> ya know I've never had that prob
[00:24] <Eagle_Fire> where the driver couldn't handle a lot of traffic at the speed it was at
[00:24] <Eagle_Fire> so it needed more oomph
[00:24] <DeltaF> the high load bug
[00:24] <ToR\L> but I don't use all the wan ports
[00:24] <ToR\L> I have a switch plugged into one of the lan ports
[00:24] <DeltaF> upping clock to 216 fixed it.
[00:24] <ToR\L> so most of my traffic never hits the router
[00:24] <ToR\L> and I barely use wirelses
[00:25] <Eagle_Fire> that's probably why you don't hit it
[00:25] <ToR\L> hehe
[00:25] <Eagle_Fire> and why women don't like you
[00:28] <gzp> so, any recommendation for a good ap?
[00:29] <DeltaF> what are you doing with it?
[00:29] <DeltaF> wrt54g is cheap and standard
[00:29] <DeltaF> better support around here...
[00:29] <gzp> but i don't want the wan part
[00:30] <Eagle_Fire> wrts have configurable ports
[00:30] <DeltaF> the wan is just a regular port
[00:30] <Eagle_Fire> if you don't want a wan port you can reconfigure it to be a lan port
[00:30] <gzp> using custom firmware?
[00:30] <Eagle_Fire> or a pan port
[00:30] <Eagle_Fire> using OpenWRT
[00:30] <DeltaF> (farther from the rest :)
[00:30] <gzp> what is pan?
[00:30] <Eagle_Fire> a joke, don't mind it
[00:31] <gzp> like pussy area :-)
[00:31] Action: DeltaF missed it too..
[00:31] <Eagle_Fire> anyways
[00:32] <DeltaF> so yeah. no wan no prob
[00:32] Action: TheMystic heads home
[00:32] <DeltaF> vlan by port, if you want.
[00:33] <gzp> thats the easyeast ap around?
[00:33] <gzp> i would like connect only one client
[00:33] <gzp> to my lan
[00:33] <TheMystic> err, sorry about that, wrong channel
[00:33] <DeltaF> best support from openwrt, i'd imagine.
[00:33] <gzp> within an apartmen
[00:33] <Eagle_Fire> well
[00:33] <Eagle_Fire> if all you want is a dumb ap
[00:34] <Eagle_Fire> then get the cheapest one you can find
[00:34] <Eagle_Fire> because they'll all do that much
[00:34] <gzp> my router is a laptop, so I like the other solutions
[00:34] <DeltaF> do you already have a router?
[00:34] <gzp> using my custom linux in ram as os
[00:35] <DeltaF> unless you want to customize it a la linux, you have many choices.
[00:35] <gzp> i would be happy with something x86 compatible solution anyway
[00:35] Action: fishhead bbl
[00:35] <gzp> connect something to my laptop
[00:35] <DeltaF> if you want openwrt, check the wiki for compatible hardware.
[00:35] <DeltaF> x86 compatible how?
[00:35] <Eagle_Fire> openwrt is great for running as a router
[00:36] <Eagle_Fire> it's very low power consumption too
[00:36] <DeltaF> very.
[00:36] <gzp> my notebook uses 2kW/month
[00:36] <Eagle_Fire> you mean 2 kWh/month?
[00:37] <gzp> y
[00:37] <DeltaF> wrt's use about 17w, right?
[00:37] <DeltaF> lower with altered ps
[00:37] <Eagle_Fire> 17w maximum
[00:37] <Eagle_Fire> average power consumption is somewhere around 8-10w
[00:38] <donlaverty> Deltaf: altered what?
[00:38] <Eagle_Fire> power supply
[00:38] <DeltaF> power supply
[00:38] <Eagle_Fire> jinx!
[00:38] <donlaverty> Deltaf: thx
[00:38] <DeltaF> i'm typing on a zipit, what's your excuse ? :)
[00:39] <gzp> so best would be buying a wrt54g?
[00:39] <Eagle_Fire> typing with one hand?
[00:39] <Eagle_Fire> gzp, motorola wr850g's are cheap, $30
[00:40] <gzp> i can't buy motorola, i'm in hungary
[00:40] <gzp> i have access to asus and linksys
[00:40] <Eagle_Fire> there you go then
[00:40] <gzp> k, some question then
[00:40] <DeltaF> doesn't the asus have usb...
[00:40] <gzp> the bin firmware can be edited before flashing?
[00:40] <Eagle_Fire> asus wl500g and wl500gd/gx have usb
[00:41] <Eagle_Fire> gzp, you can compile the whole thing yourself
[00:41] <gzp> or how can I customise the router?
[00:41] <DeltaF> nice extra if you want to play..
[00:41] <Eagle_Fire> but openwrt features a writable filesystem
[00:41] <gzp> compile with what?
[00:41] <gzp> do i need crosscompiler?
[00:41] <DeltaF> later...
[00:41] <DeltaF> yes
[00:42] <Semhirage> just download the buildroot packages
[00:42] <Eagle_Fire> when you download the openwrt source, running "make" automatically downloads and compiles a crosscompiler environment
[00:42] <Semhirage> sets it all up for you
[00:42] <gzp> cool
[00:42] <gzp> sounds good
[00:42] <Eagle_Fire> linux required
[00:42] <Eagle_Fire> though no one on freenode seems to have issues that far
[00:42] <Eagle_Fire> for some reason...
[00:42] <donlaverty> gzp: + 1gig of free space!
[00:43] <gzp> ?
[00:43] <Eagle_Fire> to store the sources / object files
[00:43] <Eagle_Fire> it is linux
[00:43] <gzp> ah :-)
[00:43] <gzp> firmware upload looks horroristic on wiki
[00:44] <Semhirage> Eagle_Fire: quick ? about bridging the wan interface to create 2 external ip's, when i do that, will my server see a lan ip or will it see the external ip passed thorugh the bridge?
[00:44] <Eagle_Fire> it can get scary but you'll get the hang of it, gzp
[00:44] <Eagle_Fire> Semhirage, it will be as if the server were directly bridged to your modem
[00:44] <gzp> i'm running a tftp server, but this boot and still try to upload :-)
[00:44] <Eagle_Fire> because that will be directly what's happening
[00:44] <Semhirage> excellent, exactly what i wanted
[00:45] <Eagle_Fire> i know :)
[00:45] <gzp> i have several nfsroot diskless stations, but I like this method, brute force upload
[00:45] <Semhirage> which presents a new problem, needing 2 gateways on the server
[00:45] <Semhirage> =/
[00:46] <Eagle_Fire> oh noes, two gateways
[00:46] <Eagle_Fire> what ever will you do
[00:47] <Semhirage> sarcasm aside, it's probably not hard, but i've never had to deal with it so im not sure how to set it up
[00:47] <Eagle_Fire> why do you need two gateways?
[00:48] <Semhirage> the internet port on the server can't use a gateway of 192.168.1.1 and the lan port can't use a gateway of 66.93.197.1
[00:48] <Eagle_Fire> that doesn't make sense to me
[00:48] <Eagle_Fire> gateways are really just a bit of terminology anyway
[00:48] <Eagle_Fire> they're just entries in the routing table
[00:49] <Semhirage> eth0 = 192.168.1.137 gateway 192.168.1.1 eth1 = 66.93.197.81 gateway 66.93.197.1
[00:49] <Eagle_Fire> well you don't want any internet traffic to pass through the router, you just want it to go to the internet, right
[00:50] <Eagle_Fire> that means the lan interface should either not have a gateway or have its gateway with a higher metric to prevent routing through it
[00:50] <Eagle_Fire> gateway is your "gateway to the internet"
[00:50] <Eagle_Fire> the lan port is no such thing
[01:01] <Umaro> Hey guys.. the website still lists WRT54GS as untested.. has anyone tested it?
[01:02] <Eagle_Fire> it's new and scary to us
[01:02] <Eagle_Fire> everyone's afraid
[01:04] Action: Semhirage needs to be more careful setting up networking on a headless unit
[01:04] <Semhirage> =/
[01:04] <Eagle_Fire> that's what serial consoles are great for
[01:05] <Semhirage> i'll just have to reboot it and hook up the kvm
[01:05] <Semhirage> least till i get this sorted
[01:05] <Eagle_Fire> when i bought my motorola WR850G the only way to get openwrt on it was to have a serial console
[01:05] <Umaro> Eagle_Fire: looks like the cpu has changed, and the ethernet switch a model number or two, but looks the same otherwise. hmm.
[01:05] <Eagle_Fire> umaro, i was joking
[01:05] <Umaro> Eagle_Fire: I know
[01:05] <Eagle_Fire> the gs has been around for a while and is quite stable
[01:05] <Semhirage> im still trying to wrap my head around what you were saying about gateways
[01:05] <ralf> h1
[01:06] <Umaro> the gs v3 is kind of new though, isn't it?
[01:06] <Eagle_Fire> the deal is when the server wants to route to the internet, you don't want it to choose the lan interface
[01:06] <Eagle_Fire> the purpose of a gateway says "when you want to get to the internet, use this interface and this ip as the next hop"
[01:06] <Eagle_Fire> you don't want your server to use the lan interface as its "internet"
[01:06] <Eagle_Fire> therefore, the lan interface should not have a gateway
[01:07] <Eagle_Fire> dig?
[01:08] <Semhirage> ok makes sense
[01:08] <Semhirage> now to reboot the dirty bastid
[01:08] <Umaro> Eagle_Fire: what if the internet is in my basement?
[01:08] <Umaro> ;)
[01:08] <Eagle_Fire> what if the internet fits inside a teacup?
[01:09] <Eagle_Fire> who cares
[01:18] <Kaloz> Umaro: yep, the gs v3 and the g v4 and v5 uses a different cpu
[01:18] <|RABBIT|> wow... that's some... support folks
[01:18] <|RABBIT|> :)
[01:18] <|RABBIT|> I have a question on customization
[01:19] <|RABBIT|> the easiest way to change some of the base init files (in my view) is to have a jffs root and fiddle with everything as you would with a normal distro
[01:19] <Kaloz> Umaro: none of the developers have such unit, so we can't fix the problem, yet.. maybe when one of us gets one or someone with a serial console comes here and we can track the problem down
[01:19] <|RABBIT|> question is - is there a way to create flash images off a working router?
[01:19] <Kaloz> |RABBIT|: yes and no. if you download and compile yourself, you can customize it before flashing
[01:20] <Kaloz> |RABBIT|: yes it is, but depends on wha you are going to do. i mean it's not the best idea to clone the whole flash
[01:20] <|RABBIT|> Kaloz: because?
[01:21] <Kaloz> |RABBIT|: for your goals (if i'm right), the best way is to grab the sources from cvs, apply your modifications for it, and use a customized image to flash
[01:21] <Kaloz> |RABBIT|: because the CFE (bootloader) can be different, the nvram variables (can and should be somewhat) different
[01:21] <|RABBIT|> Kaloz: I tried to look through it (as a matter of fact a flash is compiling as we speak) but the makefiles with the downloads really throw me off
[01:21] <Kaloz> |RABBIT|: cfe and nvram stores the mac addresses for example :p
[01:22] <|RABBIT|> I mean there are no sources as such, and there is no way to separate the process of downloading and compiling
[01:22] <|RABBIT|> at least from what I figured
[01:22] <ralf> Kaloz: are you another ar7 developer?
[01:22] <Kaloz> |RABBIT|: source->compilation->image :) but if you just want to modifiy the included stuff
[01:23] <Kaloz> |RABBIT|: you can use the image builder, too
[01:23] <Kaloz> ralf: nope, but i have an ar7 to play with when i get some time for it
[01:23] <ralf> Kaloz: i have one too
[01:23] <ralf> but since i don't want to open it i'm waiting the ethernet driver
[01:24] <Kaloz> ralf: i'm fixing support for the buffalo wzr-rs-g54 now, then comes the wgt634u with linux 2.6, and my other stuff from the TODO list
[01:24] <ralf> so i can play with
[01:24] <|RABBIT|> ok... for instance
[01:24] <ralf> how is the wgt634u?
[01:24] <|RABBIT|> I want to make an image with /etc/shadow already populated
[01:24] <|RABBIT|> can't seem to be able to do it with buildroot
[01:24] <Kaloz> ralf: a bit dusty :P i'm a bit busy as i'm going to have a new job
[01:25] <|RABBIT|> as the files are being fetched and wrapped on the file
[01:25] <Kaloz> |RABBIT|: you can.. chekc target/default/targe_skeleton
[01:25] <|RABBIT|> on the fly I meant
[01:25] <Kaloz> target_skeleton even :p
[01:25] <Kaloz> for whjiterussian i mean
[01:25] <|RABBIT|> it's empty...
[01:25] <Kaloz> for HEAD, packages/base-files/default
[01:25] <|RABBIT|> or you mean whatever I dump in there will override any download?
[01:26] <Kaloz> kaloz@arrakis:~/exp$ ls whiterussian/target/default/target_skeleton/
[01:26] <Kaloz> CVS bin etc rom sbin usr www
[01:26] <Kaloz> it's not empty :p
[01:26] <|RABBIT|> well I mean every dir is empty :)
[01:26] <|RABBIT|> just the cvs headers
[01:26] <Kaloz> kaloz@arrakis:~/exp$ ls whiterussian/target/default/target_skeleton/etc
[01:26] <Kaloz> CVS firewall.user group init.d ipkg.conf nvram.overrides preinit protocols sysctl.conf
[01:26] <Kaloz> banner functions.sh hosts inittab modules passwd profile shells
[01:27] <Kaloz> wrong
[01:27] <Kaloz> :P
[01:27] <|RABBIT|> ?!
[01:27] <Kaloz> it has files for sure
[01:27] <|RABBIT|> ... why is mine empty then...?
[01:27] <Kaloz> bad cvs checkout?
[01:27] <|RABBIT|> retrying...
[01:27] <Kaloz> use cvs co -dP to get rid of empty dirs and so
[01:28] <Kaloz> |RABBIT|: and this is whiterussian as i said, it's different in HEAD
[01:28] <|RABBIT|> maybe the problem is that this:
[01:28] <|RABBIT|> cvs -d:pserver:anonymous@openwrt.org:/openwrt co openwrt
[01:28] <|RABBIT|> is not whiterussian?
[01:29] <Kaloz> it's HEAD
[01:29] <Kaloz> :)
[01:29] <|RABBIT|> shit... :)
[01:29] <Kaloz> cvs -d:pserver:anonymous@openwrt.org:/openwrt co -rwhiterussian openwrt
[01:29] <|RABBIT|> shit x 2
[01:29] <|RABBIT|> oh well, here we go again
[01:29] <|RABBIT|> thanks man :)
[01:30] <|RABBIT|> mmm but I still don't get something
[01:31] <Kaloz> yep?
[01:31] <|RABBIT|> what is the difference between the images that buildroot generates and an image that would be ripped off a live openwrt?
[01:32] <Kaloz> the image the buildroot generates will be kernel+rootfs
[01:32] <Kaloz> the _whole_ flash image would be bootloader+kernel+rootfs+nvram
[01:32] <|RABBIT|> aha
[01:33] <|RABBIT|> and there is no software yet that would take just the kernel+rootfs?
[01:33] <Kaloz> sure you can
[01:33] <Kaloz> but you should then take care exteremely for the sizes
[01:33] <|RABBIT|> I c
[01:33] <Kaloz> if you make a modified image, you can flash all kinf odf devices with it, and tbh
[01:33] <|RABBIT|> so better off go with the makefiles, where this is all taken care of already
[01:34] <Kaloz> you can simply diff your changes, and apply them easily to newer versions later
[01:34] <|RABBIT|> makes sense
[01:34] <Kaloz> for exaple whiterussian is at rc2 now. you will be able to simply make an rc3 image or a final one later :)
[01:35] <Kaloz> so in the end you save more work for yourself
[01:40] <webmind> hmm
[01:40] <webmind> does rc2 include the ide fix already or ?
[01:41] <Kaloz> webmind: nope. rc3 will
[01:41] <Kaloz> webmind: or you can checkout cvs and compile it yourself
[01:43] <webmind> ok
[01:43] <webmind> probably will look on sunday or monday
[01:43] <webmind> nite
[01:44] <Kaloz> nite :)
[01:46] <J4k3> Kaloz: do you know if on atheros/madwifi when you do an iwlist ath0 accesspoints
[01:46] <J4k3> if its transmitting a 'access points?' packet and waiting for replies, or if its passively sniffing for a moment?
[02:05] <bedtime> hihihihi
[02:06] <bedtime> o.O
[02:06] <bedtime> you seem smarter today
[02:06] <bedtime> anybody here?
[02:07] <bedtime> i would like to know if any of you did already patched the openwrt latest kernel with Julian Anastasov kernel patches
[02:08] <bedtime> so many ppl and nobody talks
[02:08] <bedtime> dumb ppl.
[02:12] <Kaloz> bedtime: i have no fsck'in idea, who Julian Anastasov is and what patches are you talking about
[02:12] <Kaloz> bedtime: give soem urls
[02:12] <bedtime> http://www.ssi.bg/~ja/#routes
[02:13] <bedtime> routing patches
[02:13] <bedtime> ( dead gateways detection stuff )
[02:13] <bedtime> i've finished my wrt54 with multi wan setup
[02:13] <bedtime> ( static + dhcp client )
[02:13] <bedtime> and some basic by port rules
[02:14] <bedtime> so it would be great to have Julian patch on openwrt to allow faster and automatic failover
[02:14] <bedtime> Kaloz : what do you think?
[02:15] <Kaloz> bedtime: just reading through the site
[02:15] <bedtime> ok
[02:15] <Kaloz> bedtime: btw, if you are already playing with bridge/kernel patches.. i remember, that there was a patch for the bridge code to handle the macs in a different way
[02:16] <Kaloz> bedtime: eg. to not to use the smallest mac, but use the mac of the first device added or smg like this
[02:16] <bedtime> mm
[02:16] <bedtime> o.O
[02:16] <bedtime> vlan1 Link encap:Ethernet HWaddr 00:13:10:81:B4:59
[02:16] <bedtime> inet addr:200.126.173.42 Bcast:255.255.255.255 Mask:255.255.255.0
[02:16] <Kaloz> and i can't find it :P
[02:16] <bedtime> vlan2 Link encap:Ethernet HWaddr 00:20:20:AA:BB:CC
[02:16] <bedtime> inet addr:200.114.213.14 Bcast:255.255.255.255 Mask:255.255.255.0
[02:16] <bedtime> two mac address ?
[02:17] <bedtime> dont get your point
[02:17] <Kaloz> okay, i will be more precise
[02:17] <bedtime> root@OpenWrt:/usr/lib/os# brctl show
[02:17] <bedtime> bridge name bridge id STP enabled interfaces
[02:17] <bedtime> br0 8000.00131081b458 yes vlan0
[02:17] <bedtime> eth1
[02:17] <bedtime> root@OpenWrt:/usr/lib/os# robocfg show
[02:17] <bedtime> Switch: enabled
[02:17] <bedtime> Port 0(W): 100FD enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 1(4): 100FD enabled stp: none vlan: 2 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 2(3): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 3(2): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 4(1): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> Port 5(C): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
[02:17] <bedtime> VLANs: BCM5325/535x enabled mac_check mac_hash
[02:17] <Kaloz> you have eth0 with mac 44:55:66:77:88:99
[02:17] <bedtime> vlan0: 2 3 4 5t
[02:17] <bedtime> vlan1: 0 5t
[02:17] <bedtime> vlan2: 1 5t
[02:17] <Kaloz> and you have eth1 with mac 11:22:33:44:55:66
[02:18] <bedtime> eth0 is bridge mac address righ?
[02:18] <Kaloz> if you ad both to br0, the mac address of br0 becomes the mac of eth1, as it's "smaller" then the mac of eth0
[02:18] <bedtime> eth1 should be the wireless ok.
[02:18] <Kaloz> no, forget wired and wireless, forgot the wrt
[02:18] <bedtime> okok
[02:18] <bedtime> im listening
[02:19] <Kaloz> so you have those nics. the linux bridge code will choose the smallest mac of the bridged interfaces
[02:19] <bedtime> ok , follow please
[02:19] <Kaloz> but i do want it to use the mac of eth0 regardless how small macs there are and how many interfaces there are
[02:20] <Kaloz> i saw a patch for this once, that forced the bridge code to use the mac of the first added interface
[02:20] <bedtime> ok , but what that should be useful to?
[02:20] <|RABBIT|> I thought MACs on bridges can be arbitrarily specified, just like with most NICs ?
[02:21] <bedtime> i mean , isnt possible to change the bridge macaddy?
[02:21] <Kaloz> |RABBIT|: afaik it can't :/
[02:21] <Kaloz> erm
[02:21] <bedtime> ok
[02:21] <Kaloz> "it's not possible"
[02:21] <Kaloz> it's late here :P
[02:21] <bedtime> ok
[02:22] <bedtime> really thx , but just in case i would need to do that i will check that patch
[02:22] <bedtime> thx.
[02:22] <bedtime> but now i need a automagically gateway "is alive" detector
[02:22] <Kaloz> bedtime: i asked because i want to get that patch into openwrt :P just i1m unable to find it :)
[02:23] <Rawplayer> bedtime: www.erkens.info
[02:23] <bedtime> lets check erkens
[02:23] <Kaloz> bedtime: anyway, back to htat page
[02:23] <Rawplayer> its on that site somewhere
[02:23] <bedtime> dutch?
[02:24] <Umaro> yay whiterussian rc2 + sip conntracking
[02:24] <Rawplayer> http://www.erkens.info/22
[02:24] <bedtime> Rawplayer: pingcheck?
[02:25] <Rawplayer> yes
[02:25] <bedtime> naah
[02:25] <bedtime> well thx raw , but i want smth at kernel layer.
[02:26] <bedtime> check this guy text http://www.ssi.bg/~ja/nano.txt
[02:30] <|RABBIT|> kaloz, for the world of it - there is no ./target/default in the current wr tree
[02:30] <|RABBIT|> is it possible it got removed for whatever reason?
[02:31] <Kaloz> |RABBIT|: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/target/default/target_skeleton/
[02:31] <Kaloz> |RABBIT|: there is :P
[02:32] <|RABBIT|> xactly
[02:32] <|RABBIT|> if you look in the dirs in target_sceleton - they are empty
[02:33] <|RABBIT|> skeleton I mean
[02:33] <Kaloz> hmz
[02:33] <Kaloz> i kick someone in the ass
[02:34] <|RABBIT|> @ least I am not going nuts :)
[02:38] <bedtime> brb
[02:40] <OCA|> Greetings, Kaloz
[02:42] <OCA|> I havn't reflahsed it yet, but I'm noticing that my wgt634u is VERY slow when writing to a USB hard disk. Do you know if this is a hardware limitation, or a software limitation that could be fixed in another firmware?
[02:42] <Kaloz> OCA|: dunno, but i know, that the asus deluxe is a lot slower with factory firmware then with openwrt
[02:43] <OCA|> Kaloz: The Asus also havinga 200mhz broadcom mips processor?
[02:43] <Kaloz> OCA|: netgear uses old usb stuff, asus uses a somehat newer backported version, we use the newest
[02:43] <Kaloz> OCA|: yep
[02:46] <OCA|> Kaloz: Yay, hope =)
[02:46] <Umaro> I should have bought a wgt634u or a WL 500G deluxe, but they didn't have one at best buy
[02:46] <OCA|> Kaloz: One more bugging.... by chance do you know if the default firmware can read an ext2fs drive?
[02:46] <OCA|> Umaro: Do NOT buy it retail. Ebay for it.
[02:46] <Kaloz> OCA|: imho from 1.4.19 or what it can
[02:47] <Kaloz> OCA|: when this get's available, i will ask here someone to buy it for me (and i send him the money) - http://www.buffalotech.com/products/product-detail.php?productid=115&categoryid=6#
[02:48] <OCA|> Umaro: Best Buy wants $99 for the WGT 634u. I got mine on ebay for $40 after shipping.
[02:48] <OCA|> (refurb though)
[02:48] <OCA|> (retains a netgear warantee though =)
[02:50] <Kaloz> OCA|: this one is a high power one, and has the newest cpu and wlan stuff as the new linksys models
[02:50] <Kaloz> OCA|: so i can add support for these at last
[02:50] <OCA|> Looking at its specs now
[02:51] <OCA|> Not bad, though I'm a bit too excited about having a USB port =)
[02:52] <jopi> OCA|: does it works well?
[02:52] <Kaloz> nah, i just want to have 535x support in openwrt :P and if i cna choose, i want this monster instead of a linksys
[02:53] <bedtime> hey
[02:53] <Eagle_Fire> sup
[02:53] <bedtime> testing my new wrt54g multihomed router
[02:53] <OCA|> jopi: Default firmware for the WGT634u, it's.... usable.....
[02:53] <OCA|> jopi: Takes fiddling and a bit of blood, sweat, and tears to make it work, but it does.
[02:54] <OCA|> jopi: i'm really hoping it'll shine under OpenWRT
[02:54] <jopi> OCA|: are you using it with stock firmware, then ?
[02:54] <OCA|> jopi: Right now, yes. As far as I know, it doesn't work with openwrt right now
[02:58] Action: OCA| wonders what file system OSX writes when you tell it to use "Unix File System"
[02:59] <Kaloz> hehe
[02:59] <Kaloz> nighty night
[02:59] <OCA|> Night!
[02:59] <McTails> What's the WGT63u?
[02:59] <jopi> OCA|: ufs ?
[02:59] <jopi> McTails: 634u
[02:59] <OCA|> jopi: Is there such a thing?
[02:59] <jopi> an ap model
[03:00] <McTails> OCA|: It's based on the BSD UFS filesystem, but incompatible
[03:00] <McTails> It's old and slow, use HFS+ Journaled/Case-sentivite
[03:00] <jopi> OCA|: isn'it the solaris and bsd filesystem ?
[03:00] <McTails> So what's the 634u?
[03:00] <OCA|> McTails: a router by Netgear. 802.11G through an Atheros chip, USB port (stock firmware lets you use it as an FTP/Samba storage server), 4 port switch + WAN port
[03:00] <jopi> McTails: an ap model, I repeat
[03:01] <McTails> Oh
[03:01] <McTails> Nice
[03:01] <OCA|> They're going for cheap on ebay for a reason though - the stock firmware blows chunks. The hardware is capable of MUCH better than what I'm seeing here, so I'm really looking forward to openwrt support for it
[03:02] <OCA|> That said - it's WORTH $40, it'll just take some time to get it to behave.
[03:02] <McTails> It sounds like a NSLU2 and a WRT54GS merged into one neat little package
[03:02] <jopi> OCA|: well, then it's just a matter of time
[03:02] <OCA|> jopi: Kaloz is working on it, actually
[03:02] <jopi> I was going to buy one
[03:02] <OCA|> McTails: Yep, but this only has one USB port.
[03:02] <jopi> but ran out of money for this month
[03:03] <OCA|> McTails: I'm still hoping to get a USB->VGA adapter, compile some lightweight environment for it (probably OPIE or GPE), and use it both as a storage server and as a little net appliance.
[03:04] <McTails> OCA|: I rather attach a video camera card and use it as a streaming server
[03:05] <OCA|> Either should be possible
[03:06] <OCA|> jopi, McTails: Here's a fun example of the netgear firmware being a bitch: it's internal FTP server? I set the password and login on the web interface, it says it was successful, but I can't login with that user/pass.
[03:07] <OCA|> The samba share is working good (other than being slow) though.
[03:08] <McTails> I want one now
[03:08] <OCA|> McTails: What region you live in?
[03:09] <McTails> New York
[03:09] <OCA|> McTails: PFft, ebay, now.
[03:09] <McTails> I know *rolls eyes*
[03:09] <OCA|> McTails: I've seen them go for $30 after shipping, mine was $40 after shipping, and mine arrived two days after the auction ended.
[03:09] Action: OCA| was thrilled
[03:10] <McTails> nice
[03:11] <jopi> OCA|: where are you located?
[03:11] <OCA|> I am warning you though - while the hardware is NICE, really, the default firmware is just a major pain.
[03:11] <OCA|> jopi: Plano, Texas, USA, North America, Earth, Milky Way, Universe.
[03:12] <OCA|> .... I suppose universe wasn't necissary.
[03:12] <jopi> neither anything after texas
[03:14] <jopi> well, I want to give it a try
[03:14] <OCA|> jopi: Where are you from?
[03:14] <jopi> usb sounds very interesting
[03:14] <jopi> barcelona, catalonia
[03:14] <jopi> western europe
[03:15] <OCA|> aaah
[03:15] <OCA|> See, I'm a culturally challenged American, I actually need the continental designation =)
[03:16] <jopi> europe has quite a lot of countries
[03:16] <OCA|> Sucks though, I hear wireless equipment is rather expensive in Europe.
[03:16] <jopi> I confess I am unable to say which one is, for example, croatia, in a map
[03:17] <OCA|> Does that make it okay that I can't find Illinoise on the map?
[03:17] <jopi> OCA|: don't know which are your usual prices
[03:17] <jopi> OCA|: neither me
[03:17] <jopi> :)
[03:18] <OCA|> jopi: does all of Europe use the Euro? <really IS showing he knows nothing outside the US border>
[03:18] <jopi> no, only the EU affiliated states
[03:18] <Umaro> hey guys.. trying to reflash my wrt54gs.. can't get the ping hack or wrt54gcli.pl to work, it just responds "network is unreachable"
[03:19] <Leeds> jopi: not all the EU uses it
[03:19] <jopi> EU = european union
[03:19] <Umaro> I tried using ping_times instead of ping_ip
[03:19] <Leeds> only the 'Eurozone'
[03:19] <jopi> Leeds: ok, UK
[03:19] <jopi> but I think all of the rest does
[03:19] <Leeds> jopi: nope
[03:20] <OCA|> jopi: So does Catalonia use the Euro? =)
[03:20] <jopi> Leeds: oh, sorry then
[03:20] <jopi> OCA|: yes, this is Spain
[03:20] <OCA|> jopi: My WGT634u would be $32.84EU
[03:21] <Leeds> jopi: neither Sweden nor Denmark use it - and none of the new EU countries use it yet :-)
[03:21] <jopi> very cheap
[03:21] <bedtime> jpi
[03:21] <bedtime> cuanto cuesta?
[03:21] <bedtime> 33 euros?
[03:21] <bedtime> solo eso?
[03:22] <bedtime> and it is broadcom based?
[03:22] <jopi> Leeds: perhaps is because of the fact is that neither denmark nor sweden considers themselves at the same level as the rest of the countries
[03:22] <jopi> bedtime: atheros based
[03:22] <OCA|> The CPU is Broadcom though
[03:23] <Leeds> jopi: well, the whole EU is a little screwed right now... I am an EU citizen, currently living at the other end of the planet
[03:23] <bedtime> Leeds: im from mars.
[03:23] <jopi> Leeds: new zealand?
[03:23] <jopi> bedtime: solo 33 euros, si
[03:23] <Leeds> jopi: not quite - Hong Kong
[03:24] <jopi> wow
[03:24] Action: OCA| needs to get out more
[03:24] Action: OCA| has been outside Texas... twice.
[03:24] <bedtime> hey jopi , is it flash-able
[03:24] <jopi> yes it is
[03:24] <bedtime> oca| haha
[03:25] <bedtime> mmm
[03:25] <jopi> but as of now it is not supported by openwrt
[03:25] <jopi> very interesting for replacing the minipci card with a a/b/g one
[03:25] <Leeds> OCA|: I've been to Texas... never
[03:25] <OCA|> bedtime: Kaloz is working on support for it. Supposedly it kinda works internally, but not real well
[03:26] <jopi> well, time to send Kaloz beer
[03:26] <jopi> :P
[03:26] <bedtime> well basically , i dont care about wless access
[03:27] <jopi> bedtime: and so?
[03:27] <OCA|> Leeds: You'd find Texas a rather warm and inviting place, with lots of nice people. Untill you mention you're anti-(War|Bush|Oil|BigBusiness) . Then you get shot.
[03:27] <Leeds> OCA|: CA is far more my sort of place, I think
[03:28] <OCA|> ...
[03:28] <OCA|> Okay, I'm wondering if this is even POSSIBLE
[03:28] Action: OCA| formatted a disc from EXT2 (which had a single file on it), to FAT32, to UFS, back to EXT2, and the file is showing up on the disc.
[03:29] <bedtime> jopi: if it is 30 bucks you can do nice grid system on a bunch of em.
[03:29] <jopi> bedtime: well, multiply the cost
[03:29] <jopi> I am not rich
[03:29] <bedtime> not for personal use
[03:30] <jopi> I am not rich, neither my company
[03:30] <jopi> :P
[03:30] <bedtime> jopi: ....
[03:31] <jopi> but yes
[03:31] <jopi> it may be a good platform for testing such a deployment
[03:32] <jopi> bedtime: where are you located?
[03:33] <bedtime> ARgentina
[03:34] <jopi> ohm that explains why youspeak spanish :P
[03:34] <jopi> Bs As?
[03:34] <bedtime> ?
[03:34] <bedtime> whadda yo meen?
[03:34] <bedtime> ah
[03:34] <bedtime> spanish
[03:34] <bedtime> right
[03:34] <jopi> español
[03:34] <bedtime> I'm at BsAs right now
[03:35] <bedtime> im a bit obsfucated
[03:35] <jopi> ver nice city
[03:35] <bedtime> mm well yeah dunno
[03:35] <jopi> voy de vacaciones con mi mujer cada año
[03:35] <bedtime> jopi: why here?
[03:35] <jopi> at least for a tourist
[03:35] <jopi> le pedi en matrimonio alli
[03:35] <jopi> ;)
[03:35] <bedtime> jopi: you can go anywhere else
[03:36] <bedtime> jopi: ic.
[03:36] <bedtime> well , i gotta finish this custom scripts for the multihomed wrt54g
[03:37] <jopi> multihomed?
[03:37] <jopi> what does it mean ?
[03:37] <bedtime> multiple wan ports.
[03:38] <jopi> what do you want, using several lan ports for wan load balancing?
[03:39] <bedtime> im doing that
[03:39] <bedtime> not lan , wan
[03:39] <jopi> yes
[03:40] <jopi> did you patch the kernerl with julian anastasov patches?
[03:40] <bedtime> not yet
[03:40] <bedtime> i want to do that
[03:40] <bedtime> but i want some advice on doing such thing.
[03:41] <jopi> and why are you using a wrt54g for that?
[03:41] <jopi> is quite a "little" router
[03:41] <bedtime> coz it is cheap
[03:41] <jopi> yep
[03:42] <bedtime> well cheaper than any doble wan router
[03:42] <bedtime> and all the nice stuff like , sip , vpn terminator etc.
[03:42] <jopi> but you can buy a load balancer for less than the hours it will take you deploying that
[03:43] <bedtime> i couldn't make the serial console work yet. dunno why
[03:43] <jopi> at least here
[03:43] <bedtime> jopi , mm do you think?
[03:43] <jopi> for less than 200 euros
[03:43] <bedtime> jopi wich one?
[03:43] <bedtime> well i couldnt find a cheap one.
[03:43] <bedtime> remember the funny things
[03:44] <jopi> allnet, for example
[03:44] <bedtime> like serial ports , gpio , fully customizable , wireless , sip etc.
[03:45] <jopi> yeah, right
[03:45] <jopi> well, gotta go
[03:45] <jopi> here is a quarter to four AM
[03:46] Action: jopi goes to sleep
[03:46] <bedtime> ok , bye buddy
[03:54] <swim> hi, how can I debrick my wrt54g from a linux box?
[03:54] <swim> ive only found directions on how to do it from windows
[04:03] <Hecktjui> swim: yes
[04:17] <schoppa> moin!
[04:17] <schoppa> hi!
[04:17] <OCA|> BTW, anyone who talked with me about the WGT634U earlier - Netgear has a new firmware only available on their website (as opposed to the auto-updater) that fixes many of the issues I had.
[04:18] <schoppa> anyone confirm with micro libc ?
[04:18] <schoppa> uClibc
[04:21] <Umaro> Hey guys.. so I got the ping hack to work on my new WRT54GS v3 and set boot_wait=on (which I verified with nvram show after a reboot), but when I try to tftp when the device boots up, it just keeps sending WRQs as the regular firmware boots
[04:21] <Umaro> I'm using rexmt 1 and timeout 60 in my tftp, so I start it a good 5 seconds before I even plug the WRT54GS in
[04:22] <Namaseit> you do binary?
[04:26] <Umaro> yes
[04:26] <Umaro> ok, looks like this time, I actually got "cann't downgrade to this old firmware version"
[04:26] <Umaro> this is a v3
[04:27] Action: Umaro summons [mbm] with beautiful women dancing.
[04:28] <swim> man, I tried void main's revival and still couldnt get a ping result
[04:29] <Umaro> swim: what's the problem? clkfreq?
[04:30] <Umaro> I've got an WRT54GS v2.2 brick sitting there waiting for me to build a JTAG cable correctly
[04:31] <swim> i just got this thing yesterday! but it just sits there after a recent flash blinking its power light forever
[04:31] <swim> and I can connect to it
[04:33] <swim> man am I pissed
[04:34] <Umaro> swim: where'd you buy it from?
[04:34] <swim> Umaro, compusa... Ill try to take it back right now, I just hope they dont see the broken sticker on the bottom!
[04:36] Action: swim rubs off the void sticker
[04:36] <OCA|> J4k3!
[04:37] Action: J4k3 just got off the tower
[04:37] <J4k3> I gotta pee
[04:37] <J4k3> haha
[04:37] <Umaro> swim: you opened it? odd.. you should have just returned it right away, lol
[04:38] <Semhirage> returned what?
[04:38] <swim> yah I know but it was a pain
[04:38] <Semhirage> you flashed it with warranty voiding firmware, and opened it up, thus voiding any warranty as well
[04:38] <Semhirage> you bricked it, you bought it
[04:39] <swim> well they dont know that
[04:39] <Umaro> Semhirage, no, he's saying he can't flash it
[04:39] <Semhirage> [21:31:17] <swim> i just got this thing yesterday! but it just sits there after a recent flash blinking its power light forever
[04:39] <Semhirage> [21:31:24] <swim> and I can connect to it
[04:39] <swim> i have flashed already though
[04:39] <swim> sorry I meant after I flashed it
[04:40] <Umaro> oic
[04:43] <Umaro> the power light should be blinking and the dmz light should be on while it's flashing, right?
[04:44] <swim> dmz? the only lights that are on are the flashing power light, and the port where the eth cable is plugged into
[04:45] <Umaro> is yours a wrt54gs?
[04:46] <swim> no just a wrt64g v3.1
[04:46] <Umaro> oic
[04:48] <Umaro> Kaloz, you around?
[04:50] <[mbm]> .
[04:51] <Igbothom_III> hey [mbm], how's it going?
[04:51] <[mbm]> pretty good
[04:51] <Igbothom_III> excellent
[04:52] <Igbothom_III> looking forward to the weekend? (We had a short week with Brisbane Show Holiday on Wed this week)
[04:52] <Umaro> [mbm], hi there.. can you give me any pointers on how to make the WRT54GS v3 work with openwrt?
[04:53] <swim> alright all packaged back up and ready to go
[04:53] <[mbm]> Igbothom_III: brisbane? you mean the brisbane by san fran?
[04:53] <Igbothom_III> nope, the Brisbane about 12 hrs drive from Sydney!
[04:53] <[mbm]> ah
[04:53] <Igbothom_III> Sunny Queensland :)
[04:54] <[mbm]> Umaro: where's it at right now?
[04:54] <[mbm]> & what did you try
[04:54] <Igbothom_III> WRT54GS ver 3.0? What did they change?
[04:55] <Umaro> [mbm]: It's still got stock linksys firmware, I just did the ping hack thing.. tried to upload a whiterussian rc2 and it gave me the "cann't downgrade to this old firmware" deal
[04:55] <[mbm]> Umaro: use tftp
[04:55] <Umaro> yeah, that's what I did
[04:55] <Igbothom_III> damn, CPU change
[04:55] <Umaro> sorry, I forgot to include that I set boot_wait=on in there
[04:55] <Umaro> so i could do tftp
[04:55] <[mbm]> hmm.
[04:55] <Umaro> when I upload using the linksys web interface, it just sits there for a long while and then says "upgrade failed!"
[04:56] Action: [mbm] tries to recall the hardware revision history ..
[04:56] <Umaro> [mbm], I don't want to be a bother, but the forum said that the developers didn't have a WRT54GS v3 to work with. I can put mine on a public ip, and maybe you can manipulate it from there?
[04:56] <Igbothom_III> v3.0 uses a Broadcom 5352 CPU instead of the original 4712 CPU
[04:57] <Umaro> right
[04:57] <[mbm]> the gs 2.0 was when they added the cisco buttons&leds
[04:57] <Umaro> v3.0 is the only kind best buy has :(
[04:57] <OCA|> Umaro: check other best buy's. Recently I bought a version 2.0 from mine.
[04:58] <Umaro> OCA|, hmm..
[04:58] <Umaro> OCA|, ok, but ideally I'd be able to get the V3.0 to work.. :)
[04:58] <Igbothom_III> the Supported list for OpenWRT says "Untested" for the 3.0 rev
[04:58] <[mbm]> hmm I'd have to double check if the 5352 support was enabled in rc2
[04:58] <OCA|> Of course, but if you have to change
[04:58] <[mbm]> I'd say within a week it'll be up and running ;)
[04:58] <Igbothom_III> I notice this CPU supports the switch and has no 5325 chip controlling it
[04:58] <Umaro> Say, anyone feel like selling me a JTAG cable? I tried to make one for my other WRT54GS (v2.2) but I failed miserably at the soldering part
[04:59] <OCA|> Note that version 2.0 does NOT list the version number under the bar code like Version 2.2 does (not sure if 3.0 does). If it says version 2 under the bar code, it's 2.2
[04:59] <OCA|> On the box, that is
[04:59] <Umaro> [mbm], would having access to my WRT54GS v3.0 be of any assistance to you?
[04:59] <[mbm]> the boxes rarely ever reveal the right version
[04:59] <[mbm]> unless you're looking at the serial numbers
[05:00] <[mbm]> Umaro: no, not needed. pretty sure the 5352 is just an integrated 4712+5325
[05:00] <[mbm]> and all that we'd really need to do is check the headers and make sure we have the right pci ids
[05:00] <Igbothom_III> aahhh, the 5352 has WMM support (QoS in 802.11e) in the CPU - nice
[05:01] <Igbothom_III> [mbm] that looks like it - old CPU upgraded and the switch processor on the one piece of silicon
[05:02] Action: [mbm] goes to see if there's been any source releases past 4.70
[05:03] <Igbothom_III> aside from the actual LinkSys WRT units, any other decent hardware recommendations?
[05:03] <Igbothom_III> (just out of interest)
[05:04] <[mbm]> there's a TableOfHardware on the wiki that lists similar models
[05:04] <[mbm]> some have usb
[05:04] <Igbothom_III> yeah, I'm reading that
[05:05] <[mbm]> there's a netgear model that seems to be pretty popular
[05:05] <Igbothom_III> I was wondering if you (or anyone else) had played with some good hardware
[05:05] <Igbothom_III> according to the hardware list, there's no supported netgear models
[05:06] <Igbothom_III> (and I have had nothing but issues with any Netgear hardware I've used)
[05:06] <OCA|> Igbothom: Netgear's firmware sucks hardcore.
[05:06] <Igbothom_III> totally
[05:06] <OCA|> Igbothom: But the hardware looks nice. I'm really hoping OpenWRT will bring out the potential of the WGT634U, which is going REALLY cheap on ebay right now and has a usb port
[05:07] <Igbothom_III> yeah, I have 2 of these installed, both giving grief with the 802.11b/g side needing rebooting every morning - the 802.11a side runs fine
[05:08] <[mbm]> Igbothom_III: the netgear one is still being worked on
[05:08] <Igbothom_III> sorry, the WGU624 is the one I'm thinking of - 2 in play and both crap
[05:12] <Piranha-> having wireless clients use my main router's dhcp server... is there documentation on this
[05:15] <[mbm]> Umaro: gimme about an hour and I'll have a firmware that should work on that
[05:15] <Igbothom_III> woohoo
[05:17] <OCA|> mbm: would that firmware work on a wgt634u as well? =)
[05:17] <Igbothom_III> different CPUs
[05:18] <OCA|> Oh well, waiting gives me time to do the schoolwork that I should be doing =)
[05:19] <Namaseit> wtf
[05:19] <Igbothom_III> welcome to freenode :)
[05:21] <OCA|> Is ext2 a particularly fragile fs?
[05:21] <Namaseit> in what way?
[05:21] <OCA|> Namaseit: If power is lost in the middle of a write, for instance. I'm wanting to use it for a portable USB hard drive hooked up to my laptop.
[05:22] <Namaseit> no don't do that
[05:22] <Namaseit> its not journaled
[05:22] <dasOp> you dont want a power loss on ext2fs
[05:22] <Namaseit> Use reiserfs
[05:22] <OCA|> Okay, here's where the tricky part is.
[05:22] <OCA|> Can reiserfs be read in Windows?
[05:22] <Namaseit> unfortunately no windows ability to read it
[05:22] <Namaseit> :)
[05:22] <dasOp> or use fat and disable write cache
[05:23] <dasOp> which is what windows does on external devices thats got fat
[05:23] <dasOp> so you can pull it anytime and not really risk much
[05:23] <OCA|> dasOp: Oh yeah, the last catch... I'm going to be writing 60 gig files.
[05:23] <Namaseit> yeah that won't work in fat
[05:24] <OCA|> No kidding =)
[05:24] <Namaseit> I think there is a utility to read ext3 in windows
[05:24] <Namaseit> google it
[05:24] <OCA|> Found one for ext2... checking ext3 now..
[05:25] <dasOp> well, (ducks for zealots) ext3 doesnt give you more than ntfsv5
[05:25] <Igbothom_III> if it can read ext2 then it will read ext3
[05:25] <Namaseit> ext3 at least has journalling
[05:25] <OCA|> But can it write EXT3?
[05:25] <Namaseit> don't know
[05:26] <Namaseit> haven't used ext3 in years
[05:26] <OCA|> Is NTFS still dangerous in linux?
[05:26] <[mbm]> ext3 is backwards compatible with ext2
[05:26] <Igbothom_III> if it can write ext2 then it will write ext3
[05:26] <Namaseit> OCA|: yes
[05:26] <[mbm]> meaning that you can mount an ext3 as an ext2 and fully read/write
[05:26] <[mbm]> you just won't have the journalling, plus there may be a fsck when you reboot to linux
[05:27] <OCA|> mbm: Okay, if I don't have journalling, and the power dies to the drive, will just the file be corrupt, or will I lose the entire partition?
[05:27] <Namaseit> you won't lose the whole partition
[05:27] <[mbm]> OCA|: just some minor file corruption, filesystem gets flagged as dirty and fsck runs and cleans up
[05:27] <Namaseit> but a fsck will need to be done
[05:27] <OCA|> Then I may just continue with ext2
[05:27] <[mbm]> use ext3 whenever possible
[05:28] <Namaseit> just use ext3 and mount as ext2 when you have to
[05:28] <[mbm]> right
[05:28] <OCA|> Is it worth that considering it would be in ext2 mode at least 90% of the time? If so, I'll reformat now.
[05:29] <Igbothom_III> short answer: yes
[05:29] <Namaseit> might as well have journalling when you can
[05:29] <Igbothom_III> 10% better is 100% better than 0% better :)
[05:30] <OCA|> .... DUH
[05:30] <[mbm]> (if the partition actually is ext2 formatted you can run tune2fs to create a journal file, making the drive ext3)
[05:30] Action: OCA| smacks himself on the forehead
[05:30] <hpa> OCA|: No need to reformat
[05:30] <OCA|> I COULD just partiton the drive, since the only time I'll be using it in Linux is for stuff that will only be accessed on linux....
[05:31] <[mbm]> no reformatting needed to switch between ext2/3
[05:31] Action: OCA| is making nightly HD images of his laptop's HD using Ubuntu, and still wanted to be able to use the drive in Windows for video editing
[05:31] <[mbm]> ext2->ext3 is done with tune2fs, ext3->ext2 is just done by mounting it as ext2 (it can later be remounted as ext3 without any issues)
[05:32] <hpa> [mbm]: *as long as* it's clean
[05:32] <OCA|> Thanks, at this point I think I'm going to partition the drive
[05:32] <hpa> [mbm]: Otherwise you need to fsck (which you should do before mounting ext2 dirty too)
[05:32] <[mbm]> hpa: right
[05:33] <hpa> But if it's ext3, the fsck is obligatory (ext2 will not mount it)
[05:34] <Umaro> Igbothom_III, the WGU624 has a usb port?
[05:34] <Igbothom_III> nope, but they DO suck!
[05:37] <Namaseit> and you have 2 of them!
[05:38] <Umaro> [mbm], any luck on that firmware update?
[05:38] <Umaro> [mbm], again, not trying to bother, just anxious
[05:38] <[mbm]> Umaro: still building
[05:38] <Umaro> [mbm], cool
[05:38] <[mbm]> recompiling the whole damned thing takes too long ;)
[05:38] <Umaro> [mbm], you need to recompile it on a SGI box, then ;)
[05:39] <Umaro> [mbm], I got a test account on penguin.sgi.com for some work I'm doing for a client.. 8 Itanium 2 cpus at 1.6Ghz, 16 gigs of ram
[05:40] <Umaro> It's actually 4 boxes clustered, but their interconnects are like 6.4gb, so it's hardly noticable
[05:40] <[mbm]> my build environment is a amd64 .. used to be fast ...
[05:40] <Umaro> nice
[05:40] <Umaro> I've still got a XP 1800 here at home, lol
[05:41] <Namaseit> my AMD64 is stillfast
[05:41] <Umaro> So, like I was saying.. anyone want to sell me a homemade (but tested!) JTAG cable?
[05:42] <Namaseit> I have 3 right now
[05:42] <Namaseit> didn't you say you tried to make one
[05:42] <Umaro> yeah
[05:42] <Namaseit> what was wrong with it
[05:43] <[mbm]> Umaro: 3000+ here.
[05:43] <Umaro> I have a solder gun instead of a soldering iron.. so it's not easy
[05:43] <Namaseit> oh dang
[05:43] <OCA|> Umaro: ouch
[05:43] <Umaro> I burnt the db25
[05:43] <Namaseit> burnt? damn
[05:43] <Umaro> yeah, I kind of soldered pins 1-4 and 11-14 together
[05:44] <Namaseit> holy crap
[05:44] <Namaseit> :-)
[05:44] <Umaro> I think I could probably figure it out with a regular soldering iron.. maybe I should buy one.
[05:44] <Namaseit> 5 bucks, radioshack
[05:44] <Umaro> the soldering gun just isn't designed for this small kind of thing
[05:44] <Umaro> yeah, I should do that
[05:45] <Umaro> too bad they close in 15 minutes
[05:45] <Namaseit> it's a piece of crap but it works for me
[05:46] <Namaseit> how did you solder on the 12 pin header for the JTAG cable?
[05:47] <[mbm]> Namaseit: clean out the holes first, drop in a header and solder
[05:47] <Namaseit> I know
[05:47] <Namaseit> I've done it to all 4 of mine
[05:48] <Namaseit> but he said he only had a solder gun
[05:48] <Namaseit> I was wondering how he destroyed his DB25 connector but got the 12 pin header on
[05:49] <Umaro> lol
[05:49] <Umaro> I don't even know if my jtag connector will work, actually
[05:49] <Umaro> I had to drill the holes out with a 5/32 drill bit
[05:50] <Namaseit> drill holes? for what
[05:50] <Piranha-> how easy would it be to have my wireless AND wired clients to use my network's dhcp server transparenty
[05:50] <Umaro> I did get it dead center, so it stayed inside the holes
[05:51] <Namaseit> holes? on the case
[05:51] <Namaseit> ?
[05:51] <Piranha-> I know with sveasoft and default wrt firmware it was done by default
[05:51] <[mbm]> Piranha-: trivial
[05:52] <Piranha-> I tried following the AP guide, but that just kills my wrt
[05:52] <Piranha-> gotta reset nvram
[05:52] <[mbm]> Piranha-: which ap guide?
[05:52] <Piranha-> well its not a guide per say.. just a few commands
[05:53] <Piranha-> http://cyberforat.squat.net/openwrt/OpenWrt-HOWTO/x402.html
[05:53] <Piranha-> 5.5. Sample network configurations. AP mode
[05:53] <Umaro> Namaseit, no, for the connectors
[05:53] <Umaro> I tried to melt the solder, but it was too hard
[05:53] <Umaro> It wouldn't melt for me
[05:53] <Namaseit> so you drilled it?
[05:54] <[mbm]> Piranha-: that's the default.
[05:54] <[mbm]> Piranha-: and with rc2 if it detects a dhcp server on the lan while booting it'll disable dnsmasq's dhcp
[05:54] <Piranha-> well for some reason it wont allow my wifi clients to pull dhcp
[05:54] <[mbm]> check to see that your wifi works atall
[05:54] <Piranha-> yeh it does
[05:54] <Piranha-> mad sure of that first
[05:55] <[mbm]> there's no magic to block dhcp over wireless
[05:55] <[mbm]> if it works on the lan it should work over wifi
[05:55] <Piranha-> hmmm
[05:56] <Piranha-> and it shouldnt make a difference whether I set an IP for my lan interface should it
[05:56] <[mbm]> nope
[05:57] <Piranha-> seems kinda messy for me
[06:01] <Umaro> [mbm], still compiling? :)
[06:01] <[mbm]> yep.
[06:02] <[mbm]> probably coulda disabled module building
[06:17] <TheMystic> anyone around who's successfully built the buildroot? the build fails b/c it can't download linksys-wlconf.tar.gz
[06:18] <OCA|> TheMystic: I have a while back, but would I still have the file or does it auto-clean?
[06:19] <TheMystic> OCA|: unknown
[06:19] <TheMystic> OCA|: if you've still got it, it'd be in the dl/ directory of your build tree
[06:20] <[mbm]> Umaro: uploading stuff now .. just a few min
[06:20] <Umaro> [mbm]: awesome!
[06:22] <[mbm]> Umaro: http://downloads.openwrt.org/people/mbm/test/
[06:22] <Umaro> cool, thanks
[06:22] <Umaro> brb
[06:28] <OCA|> Gah, my dev box is misbehaving. SEc
[06:28] Action: OCA| scratches his head "why did its ip change..?"
[06:30] <OCA|> dl as in, extracted from whiterussian.tar.bz2, */openwrt/dl ? Or is there more than one?
[06:31] <TheMystic> OCA|: yeah, that'd be the one
[06:31] <TheMystic> /path/to/openwrt/dl/linksys-wlconf.tar.gz, unless it got deleted
[06:32] <OCA|> Nope =/ bunch of other stuff in there, but not that.
[06:33] <Weedy> http://img375.imageshack.us/my.php?image=networktopography204ro.png <---- do i need 2 gateways on the server or do i set the default gateway to the lan or inet gateway address?
[06:36] <[mbm]> wlconf shouldn't be needed for rc2
[06:39] <TheMystic> [mbm]: nonetheless, the build process is trying to download it and failing when it can't
[06:40] <TheMystic> unless i'm grabbing an old tarball for buildroot?
[06:40] <[mbm]> disable the sdk in the config
[06:42] <TheMystic> [mbm]: erm, already is
[06:43] <TheMystic> [mbm]: you're talking about the "OpenWRT SDK" at the bottom of the package selection menu right?
[06:44] <[mbm]> right
[06:52] <swim> hey folks, is the wrt54g the best choice for a router/wireless bridge ? because I see that linksys makes simillarly priced WRT54GC
[06:54] <OCA|> swim: the GC is not compatible with openwrt, so if you want to flash a custom firmware, no.
[06:54] <OCA|> swim: Other than that, well, I'd by lying if I said I didn't like its dimunitive size.
[06:55] <swim> yah it looks nice too but then again its anntenas are internal
[06:55] <OCA|> swim: The Netgear WGT634U is a great deal on ebay right now (lots of places are selling the refurbs there), but you will have to futz with the firmware to get all the features working right.
[06:56] <OCA|> swim: It has a small external antenna.
[06:56] <swim> OCA|, oh thats not cool, plus I need to stick to whatever compusa has because ive got credit there
[06:57] <OCA|> swim: well, if you're going for custom firmware, the WRT54G (version anything-but-3.0) is the most widely supported. The most hardware hacks are available for it. But the hardware itself isn't as good a value as some other ones - no USB, a radio that doesn't work well if you try to pump up the tx power. That said, out of the box it has good range and is rock-solid stable.
[06:58] <swim> OCA|, what about v3.1 ?
[06:59] <OCA|> I'm not sure about 3.1. Personally I've used 2.0 (to hack) and 2.2 (to run my network). I may have dealt with other ones to run my network, but I don't have them on me anymore and don't remember their versions./
[07:00] <OCA|> My basic advice is if you don't need any of the really fancy stuff (USB, mini-pci) or want to go nuts with the transmission power and range, the WRT54G is rock-frikkin-solid, easy to set up, and widely supported by custom firmware.
[07:01] <OCA|> As far as what versions above 2.2 work.... *sec*
[07:01] <OCA|> *with openwrt
[07:01] <swim> OCA|, yah I dont need any of that stuff... but I do want it to be supported :) and as far as I know they only have (compusa) the v3.1 right now
[07:03] <OCA|> According to the table of hardware it is not currently supported. However, if you want to know if it's being worked on anytime soon... wait for mbm or another of the devs here to notice this conversation and butt in =)
[07:04] <OCA|> Lemme rephrase that: "untested", not unsupported, and the guy who had a 3.0 and was in here an hour ago bricked his trying.
[07:04] Action: Tigrao has two 3.0s
[07:04] <swim> hehe ok, Im also not exactly stuck on openwrt, but I dont like sveasoft... but dd-wrt seems to be ok, except that after I fllashed the firmware (for the second time) it bricked my wrt54g
[07:04] <Tigrao> Whiterussian RC2 runs flawlessly on my 3.0s
[07:05] <OCA|> Tigrao: Well, the guy who bricked his must have done something wrong then =)
[07:05] <[mbm]> OCA|: that's always the case
[07:06] <swim> i just flashed it with dd-wrt using the web interface... then reset it
[07:06] <Tigrao> I'm even using an IRC bouncer running on one of my WRTs to connect to IRC...
[07:06] <Tigrao> I love the WRT... it isn't a wireless router to me anymore, it is a small Linux computer :-D
[07:06] <OCA|> Tigrao, exactly!
[07:06] Action: OCA| hugs his semi-functional wrt
[07:06] <[mbm]> not exactly; close enough though ;)
[07:07] <[mbm]> (wouldn't trust user accounts on the wrt)
[07:07] <swim> cool, but after bricking mine, Im going to be a lot more conservative with the replacement
[07:07] <OCA|> Multiuser on a router is.... overkill?
[07:07] <OCA|> Yes, overkill.
[07:07] <OCA|> We are in agreeance.
[07:07] <[mbm]> swim: it's really hard to do actual damage, especially if you rtfm.
[07:08] <[mbm]> you might lock yourself out but that's about it
[07:08] <Tigrao> I don't see why I would need more than root and nobody on the WRT...
[07:08] Action: Tigrao has locked himself out plenty of times
[07:08] <Tigrao> Thank goodness for failsafe mode
[07:08] <swim> i tried even using void main's revert and still couldnt get back into the router
[07:08] <[mbm]> :)
[07:08] <OCA|> Tigrao: But when OpenWRT supports the WGT634U.... I'll probably sell my WRT54G, use the money to get a USB->VGA cable, and do something very, very foolish.
[07:09] <Tigrao> heh...
[07:09] Action: OCA| wants to play DooM on a router.
[07:09] <[mbm]> swim: if you're using openwrt you use failsafe; otherwise you just use boot_wait to upload a working firmware via tftp
[07:10] <swim> [mbm], I tried that, after flashing it with dd-wrt, i couldnt connect to it, and then the power light would just blink on and off for hours
[07:10] <[mbm]> did you look to see if the tftp actually transfered? doesn't sound like it
[07:11] <swim> no it wouldnt
[07:11] <swim> it just timed out
[07:11] <Tigrao> Whenever a WRT's power light would just flash, I always somehow managed to tftp another firmware to it.
[07:11] <Tigrao> Sometimes I had to reset it over and over... but it eventually would flash again...
[07:11] <swim> hmm
[07:12] <[mbm]> name it code.bin, connect your computer to port 1 on the lan, use a 192.168.1.x on the computer (don't use 192.168.1.1, that's the wrt)
[07:12] <Piranha-> ahh [mbm] it works :)
[07:12] <swim> oh I never renamed it to code.bin
[07:12] <[mbm]> Piranha-: you mean that 5352 image I built?
[07:12] <Piranha-> nah .. the dhcp shiet
[07:12] <[mbm]> swim: in most cases that isn't needed, but it won't hurt
[07:13] <[mbm]> swim: also make sure that whatever os you're using doesn't disable the ethernet while the wrt is powered off (if it does either use a hub between or disable the ethernet powersave features)
[07:14] <swim> ok Ill try again right now before exchanging the thing, all i need to do is bring up my ethernet card to have 192.168.1.2 and start tftp (i just installed the debian pkg not sure if that alright or not) and then what do I do again?
[07:14] <swim> using debian
[07:14] <[mbm]> yeah, the debian tftp should work. "binary" "trace" "rexmt 1" "put code.bin" .. then wait, it should start counting block numbers
[07:15] <swim> ok Ill give it a shot then
[07:15] <swim> i need to bring this wireless card (eth0) down first so Ill brb
[07:15] <[mbm]> ?
[07:16] <swim> im connecting now via a pci wifi card
[07:16] <[mbm]> oh
[07:16] <swim> then I put the wrt54g in client mode to connecct
[07:16] <OCA|> Is there a way to tell bzip2 what you want the output filename to be? *doesn't see one in the manual =(
[07:17] <[mbm]> OCA|: try bzip2 -c file-to-compress > filename.bz2
[07:18] <OCA|> mbm: I was under the impression that the ">" in bash would also add anything the program tries to print to the console to the output..?
[07:18] <[mbm]> and -c makes bzip2 spit the compressed data to the console
[07:19] <OCA|> So what happens if bzip throws an error? Will the error text be at the end of the file and I won't actually see the message in the console?
[07:20] Action: OCA| will be using this as a hard drive backup script and wants to make sure he gets it right =)
[07:20] <[mbm]> errors go to stdout
[07:20] <[mbm]> er stderr
[07:21] <OCA|> aaah, k
[07:29] <OCA|> Thanks [mbm], testing my simple backup script while I sleep because sleep is good.
[07:29] Action: [mbm] wonders what happened to umaro
[07:32] <nbd> [mbm]: hey. did you notice that openwrt got a newsforge review?
[07:32] <[mbm]> cool
[07:32] <[mbm]> (wait, a *good* review?)
[07:33] <nbd> doesn't look bad to me
[07:34] <nbd> conclusion:
[07:34] <nbd> With OpenWrt, friendly and helpful volunteers have created a powerful and fun Linux system that replaces the default Linksys firmware. You can use OpenWrt to implement everything from programmable VLANs to intrusion detection on a compact, fan-less box. With OpenWrt, you will be amazed at what free software is up to these days.
[07:36] <Piranha-> damn windows and wpa not working
[07:36] <Piranha-> works fine without it, as soon as I set it, it stays at "aquiring network address"
[07:37] <[mbm]> nbd: nice; just read it.
[07:38] <hipster> hey wrt. yeah that's my problem. one way audio
[07:38] <Namaseit> wrt is a bot
[07:39] <Namaseit> :)
[07:39] <hipster> I traced the problem to NAT and the fact that SCCP is embedding the phones IP address in layer 4 which is not getting changed by NAT
[07:40] <nbd> [mbm]: and they even wrote OpenWrt instead of OpenWRT :)
[07:42] <hipster> apparently Cisco uses a hack called a "fixup" to get inside the protocol and change all the places with IP addresses. They have this in their routers and PIX. I searched online and couldn't find any references to this with OpenWRT. I was wondering if anyone has written anything link this or is working on it. If not I'll have to tackle it myself.
[07:46] <[mbm]> nbd: wow, even I get that wrong on occasion
[07:48] <[mbm]> hipster: you probably want to be searching the newtfilter mailing lists for nat helpers
[07:48] <[mbm]> er netfitler
[07:48] <[mbm]> (damn keyboard)
[07:49] <hipster> thanks I'll take a look there and see what's up
[07:50] <[mbm]> a quick google seems to suggest there's a ip_nat_sccp that does what you want
[07:51] Action: z3ro wakes up.
[07:51] <hipster> thanks. I have the iptables set up and doing the nat so I'll see if ip_nat_sccp can dig deeper into the packet and make the necessary changes
[07:52] <[mbm]> (obviously you'll have to port/compile the module for openwrt)
[07:52] <z3ro> nbd: ping
[07:52] <nbd> z3ro: pong
[07:53] <[mbm]> z3ro: host unreachable :P
[07:53] <z3ro> nbd: we need to fix arch/mips/ar7/printf.c, without the proper functions like in arch/mips/mips-boards/generic/printf.c gdb will not work.
[07:54] <z3ro> nbd: I think it's important to get gdb working now.
[07:54] <z3ro> nbd: serial_in, serial_out, promPutChar, promGetChar, etc
[07:55] <nbd> ok. i'll have a look at the printf stuff later
[07:55] <z3ro> nbd: oops, putPromChar, getPromChar
[07:55] <z3ro> nbd: okay
[07:55] <z3ro> nbd: I did a little work on it, but it did not work too well...
[07:56] <z3ro> nbd: afaik the UART's are standard so we should not need too much hacking, I think.
[07:56] <z3ro> nbd: maybe just changing the addresses for lines like: return (*(volatile unsigned int *)(mips_io_port_base + ATLAS_UART_REGS_BASE + offset*8) & 0xff);
[08:05] <hipster> mbm: I did a Google search and this looks promising. Google gave me three hits and they mentioned modules ip_nat_sccp and ip_conntrack_sccp however Google gave no links to the source for the modules. I tried a search on SourceForge but it didn't have anything either. Do you have any ideas where else to look for the source? I can do the port/compile for openwrt if I can find the source
[08:06] <[mbm]> hipster: try netfilter's cvs
[08:07] <hipster> thanks
[08:12] <jay_> anyone know if dd-wrt forces an IP update to dyndns every so often?
[08:12] <jay_> i think dyndns kills your host if the IP hasn't changed in 2 months
[08:14] <Piranha-> any particular reason why mounting an nfs share hangs for so long
[08:17] <[mbm]> jay_: they send you an email telling you to update or they'll kill the account
[08:19] <[mbm]> http://pastebin.com/340527 .. that's the email they send
[08:20] <Semhirage> i so wanna try Eagle_Fire 's briding idea but i don't wanna lock myself out of the router LOL
[08:20] <[mbm]> what was his idea?
[08:20] <Eagle_Fire> i don't recall saying anything about briding
[08:20] <Semhirage> bridging
[08:20] <Eagle_Fire> bridge wan and vlan2 so that the server gets internet, no routing
[08:21] <Eagle_Fire> i figured it would be the simplemost
[08:21] <Semhirage> Eagle_Fire: just to clarify, that would mean that my lan would also still have inet correct?
[08:21] <[mbm]> umm vlan2? are we dealing with a wrt54g1.0 here?
[08:21] <Eagle_Fire> just saying he'd put the server on another vlan
[08:21] <Eagle_Fire> figured you'd pick up on that
[08:21] <Eagle_Fire> it must be late
[08:22] <Semhirage> wrt54g v2.0
[08:22] <[mbm]> and why do you have to use the wan port? you can just plug everything into the lan (no point bridging in software if you can avoid it)
[08:22] <[mbm]> ...
[08:22] <Semhirage> [mbm]: this is my network topography as i would like it http://img375.imageshack.us/my.php?image=networktopography204ro.png
[08:23] <Eagle_Fire> he wants his lan to still be NAT'd
[08:23] <Eagle_Fire> so, to summarize, 2x ports on the back (wan and server) would be bridged
[08:23] <Eagle_Fire> the bridge would have an IP as well as the server
[08:23] <Eagle_Fire> that bridge would serve as the functional WAN interface
[08:23] <[mbm]> ever hear of dnat?
[08:24] <[mbm]> :)
[08:24] <Eagle_Fire> the second bridge would be the remaining 3 ports on a vlan and the wireless
[08:24] <Eagle_Fire> dnat would be alright
[08:24] <Semhirage> dnat?
[08:24] <Eagle_Fire> but i don't like to mess with iptables when i don't have to
[08:24] <Eagle_Fire> besides he wanted the server and the wrt to have separate ip's
[08:24] <[mbm]> Semhirage: all you want is to have a server behind the wrt that's accessable from the internet?
[08:24] <Eagle_Fire> also i don't like messing with adapter aliases when i don't have to either
[08:24] <Eagle_Fire> anyway, i need to get some sleep
[08:24] <Eagle_Fire> mbm will totally help you out, Semhirage
[08:24] Action: J4k3- done fucked around and shut down the transmitter on one of his ubiquiti cards ;)
[08:25] <J4k3-> (overheat I think)
[08:25] <Eagle_Fire> J4k3-, soak it in cola overnight
[08:25] <Semhirage> i have 2 public ip's assigned to my modem, i want 1 ip to routed directly to the server to run all services invisible to my lan, i want the lan to have the second ip
[08:25] <J4k3-> ooh, good plan
[08:25] <J4k3-> ;)
[08:25] <Eagle_Fire> it won't fix it but it sure will make it sticky
[08:25] <J4k3-> haha
[08:25] <J4k3-> I have a lightning damaged one
[08:25] <jay_> anyone know if dd-wrt forces an IP update to dyndns every so often?
[08:25] <Eagle_Fire> dd-wrt is not openwrt
[08:25] <J4k3-> I might as well urinate on it
[08:25] <Eagle_Fire> this channel is for openwrt
[08:25] <Eagle_Fire> urinating on fire smells bad
[08:25] <J4k3-> yes, yes it does
[08:26] <Eagle_Fire> i did it once
[08:26] <Eagle_Fire> and it smelled bad
[08:26] <[mbm]> Eagle_Fire: don't try it after drinking shots ;)
[08:26] <Eagle_Fire> i don't drink
[08:26] <Eagle_Fire> so i sure won't
[08:26] <J4k3-> I only drink of a sexy female is involved
[08:26] Action: Eagle_Fire high-fives [mbm]
[08:26] <Eagle_Fire> or a not-sexy-enough female?
[08:26] <Semhirage> urinating on fire after drinking lots of bacardi 151 is bad for ones skin
[08:26] <J4k3-> hah, I've learned a new rule
[08:26] <J4k3-> don't get drunk *then* decide to have sex with a girl
[08:27] <J4k3-> do it the other way around
[08:27] <[mbm]> Semhirage: ok.. I see what you're trying to do.. server has two network cards?
[08:27] <z3ro> hmm... is ftp.idsoftware.com down, or did they just drop packets from my ip, since my bash script is checking every few hours for the quake3 source code.
[08:27] <Eagle_Fire> don't get sex then decide to drink a girl?
[08:27] <Semhirage> [mbm]: correct
[08:27] <J4k3-> thats it, Eagle_Fire
[08:27] <J4k3-> haha
[08:27] <Eagle_Fire> sage advice
[08:27] Action: J4k3- cusses profusely, then hits 'submit order'
[08:28] <J4k3-> $220 for a fucking slutted waveguide.
[08:28] <J4k3-> :E
[08:28] <Eagle_Fire> hehe, slutted
[08:28] <J4k3-> yes, slutted
[08:28] <J4k3-> I'm hoping I escape the noise
[08:28] <Semhirage> i may end up ordering a routerboard and using my wrt as a bridged ap in the future
[08:28] <Semhirage> or as AP's for my local park
[08:28] <J4k3-> and don't just end up finding another set of it
[08:28] <Semhirage> =P
[08:29] <Eagle_Fire> wrt's can do routing
[08:29] <Eagle_Fire> don't shortchange them
[08:30] <Semhirage> im shortchanging the wrt's
[08:30] <Semhirage> but i'm working with the city to provide wide coverage WIFI to the local neighborhood
[08:30] <J4k3-> heh
[08:30] <J4k3-> yay for communist wifi
[08:30] <Semhirage> i need a badass router to run freeradius to track all these bitches that be payin me
[08:31] <J4k3-> I'm all for public wifi, I'm not all for tax dollars paying for it
[08:31] <Eagle_Fire> J4k3 is the wifi pimp
[08:31] <Semhirage> J4k3-: all im asking the city to pay for is the power to run the wrt boxen
[08:31] <J4k3-> Semhirage: ahhh
[08:31] <J4k3-> nice
[08:31] <Semhirage> in return i provide free wifi to the park, but charge for anywhere not in the park
[08:31] <Semhirage> =P
[08:32] <J4k3-> fair enough
[08:32] <Semhirage> i just wanna make enough money to offset the cost of the extra dsl lines i need to pay for
[08:32] <Semhirage> if i make a profit, sweet shit, just so long as i break even
[08:33] <J4k3-> yep
[08:33] <J4k3-> I feel ya
[08:33] <Semhirage> but first things first, i need to get that external ip on my server =P
[08:33] <J4k3-> profit doesn't come from the residential/small business access area.
[08:34] <J4k3-> thats the garbage collection work... it pays the bills but it doesn't fatten the pocket
[08:34] <J4k3-> silly crap like colo, webhosting, maintenance contracts, etc.
[08:34] <J4k3-> thats where the real paper is at
[08:34] <Semhirage> and the main thing im concerned with, is that when i bridge the wan and vlan2, i'll lose internet access on my actual lan
[08:34] <J4k3-> stack your mail
[08:34] <Semhirage> heh, i barely have enough to power to run my 3 boxes
[08:34] <Semhirage> i can't imagine running much more
[08:35] <[mbm]> Semhirage: http://pastebin.ca/20402
[08:37] <J4k3-> whats the power limitation?
[08:37] <[mbm]> if you don't want to do any firewalling atall then you can just change the wan to include two ports
[08:37] <J4k3-> my power is limited by a 150W isolation transformer and 335' of 14ga romex behind that ;)
[08:37] <Semhirage> ?
[08:37] <Semhirage> J4k3-: i meant actual power consumption at my apt
[08:38] <J4k3-> oh...
[08:38] <mrverbose> any idea how I could speed-up my ppp0 dial-in?
[08:38] <Semhirage> if i have my 3rd pc running and turn on the microwave i trip a breaker
[08:38] <Semhirage> =P
[08:38] <[mbm]> Semhirage: crank up the wifi, skip the microwave ;)
[08:39] <Semhirage> lmao, if the landlord won't fix it, im gonna pay an electrician to come in within the next 2 months, it gets nuts when i want a quick snack and have to shutdown a pc to heat it up
[08:39] <J4k3-> haha, you need a UPS
[08:39] <J4k3-> unplug PC, run microwave
[08:39] <J4k3-> plug PC back in when complete.
[08:40] <Semhirage> [mbm]: that setup that you pastebinned, will that give me external ip's on the router and put one of them solely to the server?
[08:40] <Semhirage> err, give me 2 external ips
[08:41] <[mbm]> Semhirage: it'd be very similar to putting a hub between the wrt and dsl, one port of the hub for the wrt, one for the server
[08:42] <Semhirage> but both the same external address right?
[08:43] <[mbm]> think about it .. if you were to put a hub/switch on the dsl
[08:43] <[mbm]> and plug in two devices
[08:43] <[mbm]> they'd both request dhcp and get an address
[08:43] <[mbm]> infact they wouldn't know or care that the other device existed
[08:43] <Semhirage> [mbm]: except i don't get dhcp from my isp
[08:44] <Semhirage> 2 static ip's on bridged dsl
[08:44] <[mbm]> ok, then just setup both devices with a static address
[08:44] <[mbm]> point still stands
[08:45] <[mbm]> the only real feature here is the fact you can put filtering on the br1 interface and filter what gets to the server
[08:45] <Semhirage> set both which devices with static ip
[08:45] <[mbm]> (if you have no interest in firewalling then you can change some settings around to increase performance)
[08:46] <[mbm]> *sigh* do I really have to draw this out?
[08:46] <swim> [mbm], could you paste your instructions to do the firmware flash with tftp for me again?
[08:46] <Semhirage> i would rather not firewall the server interface if i don't have to
[08:48] <[mbm]> Semhirage: you don't have to.
[08:48] <Semhirage> wtf, i just looked at my nvram settings, the only thing in the wan_ifnames right now is vlan1, is that right?
[08:48] <[mbm]> Semhirage: the point was that you could.
[08:49] <Semhirage> anything that increases performance i'll for =P
[08:49] <Semhirage> gah, whats up with my typing tonight
[08:50] <swim> [mbm], I cant scroll up any further to see what you typed for me
[08:50] <[mbm]> Semhirage: http://pastebin.ca/20403 .. make sense?
[08:51] <Semhirage> [mbm]: yes that makes sense
[08:51] <[mbm]> Semhirage: ok. forget what I said before. we're going to do exactly what's in that diagram
[08:51] <[mbm]> except we're going to use the switch already on the wrt
[08:52] <Semhirage> hey as long as it works....
[08:52] <Semhirage> i just noticed there's no paypal donation link
[08:52] <Semhirage> =(
[08:52] <[mbm]> Semhirage: vlan0ports="1 2 3 5*" vlan1ports="0 4 5"
[08:52] <[mbm]> set, commit & reboot
[08:53] <Semhirage> so im putting the wifi and server on one, and the rest of the lan on the other?
[08:53] <[mbm]> the above will make the lan port4 and the wan port into a mini switch
[08:54] <Semhirage> bbs i hope
[08:55] <[mbm]> server gets plugged in port 4
[08:55] <swim> [mbm], umm would you please paste your one message with the instructions on updating my firmware via tftp?
[08:56] <Weedy> http://data.4chan.org/b/src/1124433113203.jpg
[08:56] <J4k3-> bahahaha
[08:59] <[mbm]> swim: openwrt.org/logs
[08:59] <Semhirage> oh shit, i need to change my wan ip addy
[08:59] <swim> thx
[08:59] <Semhirage> i think or are we gonna fix that part yet mbm
[09:01] <[mbm]> why do you need to change the wan address?
[09:02] <[mbm]> Semhirage: http://pastebin.ca/20404 .. explaination of the above vlan stuff.
[09:02] <Semhirage> because i have it using the ip i want assigned to my server right now
[09:03] <[mbm]> oh, yeah change that
[09:03] <[mbm]> (or you can just put the server on the other ip address)
[09:04] <[mbm]> Semhirage: last diagram make any sense?
[09:05] <Semhirage> yes makes lots of sense now, just trying to figure out how im going to give each vlan its own external ip and stilll be able to connect to the wrt
[09:05] <[mbm]> (oh, forgot to mention, the reason they can get away with port 5 being in both vlans is due to the fact it's tagged, the data that the wrt recieves has headers on it saying which vlan it came from)
[09:05] <Semhirage> that much i had read about
[09:05] <[mbm]> Semhirage: right now all you need to do is set wan_ipaddr to whatever ip address you want the wrt to use
[09:06] <[mbm]> and set the server to another static ip and plug it into port 4
[09:10] <[mbm]> re.
[09:11] <Semhirage_> so far so good i think
[09:12] <[mbm]> at this point your server and wrt should have static ip addresses and you should be able to reach your server
[09:12] <Semhirage_> well so far as i can see both ip's are active
[09:13] <[mbm]> so we can move on to splitting the wifi and lan
[09:13] <Semhirage_> sure why not =P
[09:14] <Semhirage_> i got something accomplished today, might as well keep that ball rolling
[09:14] <[mbm]> by default lan_ifname=br0, which means that the lan is a bridge; the interfaces that are bridged are lan_ifnames (namely vlan0 and eth1)
[09:15] <[mbm]> so the first thing we need to do is set lan_ifname=vlan0
[09:15] <Semhirage_> lan_ifnames=vlan0 eth1 eth2 eth3
[09:15] <[mbm]> lan_ifnames doesn't matter anymore since lan_ifname isn't a br*
[09:16] <[mbm]> (you can remove lan_ifnames with "nvram unset lan_ifnames", but it doesn't really matter)
[09:17] <[mbm]> lan gets configured according to lan_proto (usually static, which means that lan_ipaddr contains the ip address)
[09:17] <[mbm]> now, we need to do something with the wireless .. are you using or plan to use wds?
[09:17] <[mbm]> (wds lets you link multiple access points wirelessly)
[09:18] <d00f> with vlan, can i a different network for each port and internet on one port ?
[09:18] <d00f> can i have...
[09:18] <Semhirage_> [mbm]: wds would be nice, but won't be happening any time soon
[09:19] <[mbm]> d00f: yes, but you only have one connection from the wrt to the switch; the more you split it the more has to travel across that single connection from the wrt to the switch, reducing throughput
[09:19] <swim> [mbm], when I tried to put code.bin it told me 'no machine specified'
[09:19] Last message repeated 1 time(s).
[09:19] <swim> sorry didnt mean to repeat
[09:20] <[mbm]> swim: tftp 192.168.1.1, "binary" "trace" "rexmt 1" "put code.bin" ....
[09:20] <swim> oh gotchyah thx brb
[09:20] <[mbm]> Semhirage_: ok, we'll set it up so wds is possible.
[09:21] <Semhirage_> awesome
[09:21] <[mbm]> wifi_ifname=br0 wifi_ifnames=eth1 wifi_proto=static wifi_ipaddr=192.168.2.1
[09:21] <[mbm]> I'm guessing the wrt is going to be dhcp server for both the lan and wifi?
[09:22] <Semhirage_> wifi yes, i tend to use static dns on my lan
[09:22] <[mbm]> I said dhcp...
[09:23] <Semhirage_> yes, dhcp on the wifi, lan doesn't use dhcp however
[09:25] <[mbm]> Semhirage_: ok.. makes it easier actually .. are you using squashfs or jffs2?
[09:25] <Semhirage_> squashfs
[09:25] <[mbm]> and you know how to edit files?
[09:25] <Semhirage_> don't i have to copy them somewhere first?
[09:26] <[mbm]> it'd be pointless to ...
[09:26] <Semhirage_> forgive me if i'm spacy, i've got 200 pages of documentation scattered over my desk
[09:26] <[mbm]> rm /etc/init.d/S50dnsmasq; cp /rom//etc/init.d/S50dnsmasq /etc/init.d/S50dnsmasq; vim /etc/init.d/S50dnsmasq
[09:26] <[mbm]> (all the files from squashfs are in /rom .. no need to back them up anywhere)
[09:29] <[mbm]> anyways .. you want to edit iface= .. should be "iface=wifi"
[09:29] <Semhirage_> that all i gotta change?
[09:29] <[mbm]> you only wanted dhcp on the wifi interfaces :)
[09:30] <Semhirage_> sounds good to me, i like it simple
[09:30] <[mbm]> with all of that set you can either run "/etc/init.d/S40network start" or just reboot
[09:31] <Semhirage> suppose i should reboot seeing as i changed all those nvram settings ?
[09:32] <[mbm]> can, but if you run the network script it'll just read the nvram settings and configure the networking
[09:47] Action: [mbm] wonders where Semhirage went...
[09:51] <Eagle_Fire> bricked!
[09:51] <[mbm]> bricked what?
[09:52] <Eagle_Fire> semhirage
[09:53] <[mbm]> can't see anywhere in what I said where he could brick it
[09:53] <J4k3> hah
[09:54] <Eagle_Fire> nothing that would lock him out either?
[09:54] <[mbm]> shouldn't be.
[09:55] <Eagle_Fire> well you know how newbies are
[09:55] <mrverbose> is it possible to drop the line without having to reload pppd?
[09:55] <Eagle_Fire> scissors B< phone cord
[09:58] <estel> i have a problem: yesterday I switched on the lights, one lamp burn out and caused a blackout; when there was power again the router didn't listen on port 22 or on 23, just the dns daemon listened; so i reseted the router, turned boot_wait on and tried to install openwrt-wrt54g-squashfs on my router with the windows tftp client (my linux box has no pppoe drivers and the router is still out or ordern ;-) ), but I just receive a timeout, although I did the same d
[09:59] <estel> any idea how I can flash the router or which tftp client I should use?
[09:59] <Eagle_Fire> have you left the router unplugged for several hours and trying again
[10:00] <estel> Eagle_Fire: no; but after some tries i decided to sleep - so should i try just once more?
[10:00] <[mbm]> don't use an os that'll disable the ethernet when the wrt is turned off (like windows ...) set the pc to 192.168.1.x (not 192.168.1.1, that's the wrt), plug it into port 1, rename the openwrt*.bin to code.bin, tftp 192.168.1.1. "binary" "trace" "rexmt 1" "put code.bin"
[10:00] <Eagle_Fire> did you leave it unplugged while you slepf
[10:01] <Eagle_Fire> also, check whether it's running low on routing fluid
[10:01] <[mbm]> and a power outage shouldn't break the firmware
[10:01] <Eagle_Fire> and hey now, disabling while unplugged serves an important purpose
[10:01] <estel> the firmware isn't really brake: I had to reset it as the sshd didn't start
[10:02] <[mbm]> low power after the power outage may prevent the wrt from fully booting
[10:02] <estel> the dnsd worked...
[10:02] <[mbm]> or you may have changed the configuration and forgot to save your changes
[10:02] <[mbm]> things like telnet and sshd don't magically stop working
[10:03] <[mbm]> (although telnet does get disabled if a password is set)
[10:03] <estel> I know, propably it was just a problem with one init script
[10:03] <[mbm]> Semhirage: long time no see.
[10:03] Action: Eagle_Fire is away
[10:03] <estel> but now i have an old firmware and no working configuration, so i want to install a new firmware and then configure it again
[10:04] <Semhirage> -_-
[10:04] <Semhirage> 2 small problems while i was gone LOL
[10:04] <Semhirage> had an error on the network start script, which also hung a reboot, and then i wiped the nvram
[10:04] <Semhirage> =P
[10:05] <[mbm]> uh.. what?
[10:05] <estel> but before i quit: are there other tftp clients that work on windows (or on linux)?
[10:06] <Semhirage> [mbm]: root@Xion:~# /etc/init.d/S40network start
[10:06] <Semhirage> route: SIOC[ADD|DEL]RT: File exists
[10:06] <Semhirage> Error for wireless request "Set Frequency" (8B04) :
[10:06] <Semhirage> SET failed on device eth1 ; Invalid argument.
[10:06] <GO-Yaa> Hi! Is there any webadmin mod to the OpenWrt?
[10:06] <[mbm]> Semhirage: you can safely ignore those
[10:07] <Semhirage> -_-
[10:07] <Semhirage> well, it caused me to lose all network connectivity
[10:07] <[mbm]> were you on wireless at the time?
[10:07] <Semhirage> so i rebooted, which hung the router and locked me out
[10:07] <Semhirage> no, no wireless right now
[10:07] <Semhirage> so i tried to failsafe, but ended up resetting the nvram instead
[10:07] <Semhirage> =/
[10:07] <[mbm]> how'd you reset nvram?
[10:08] <Semhirage> held reset button while powering on
[10:08] <[mbm]> did you look to see if it actually reset?
[10:08] <Semhirage> oh yea, its reset
[10:08] <[mbm]> (on most models that does nothing)
[10:09] <Semhirage> thank god i printed out the nvram vars before i started chagning stuff
[10:09] <Semhirage> =P
[10:09] <Semhirage> it didn't have dns, or wan_ anything after that
[10:09] <Semhirage> it was foooooooked
[10:09] <[mbm]> so did you write down the changes or do we have to restart from the begining?
[10:09] <Semhirage> im up to the wifi part, cuz that was what broke it
[10:10] <estel> i'll try once more; thanks for help
[10:10] <Semhirage> but now that i've got a blank nvram slate, and easy enough to fix, i'll give it another shot
[10:10] <[mbm]> Semhirage: I still don't see what would have broken it
[10:11] <Semhirage> i think it was maybe a conflict with an old nvram setting
[10:12] <Semhirage> i had 3 pages of 3 columns of nvram var's
[10:13] <[mbm]> try just this - nvram set lan_ifname=vlan0; ifdown lan; ifup lan
[10:13] <[mbm]> (done as one long command)
[10:13] <Semhirage> already got that changed over
[10:13] <Semhirage> =P
[10:13] <Semhirage> did that as part of my trying to restore network
[10:13] <[mbm]> so do you have a br0 showing up in ifconfig?
[10:14] <Semhirage> no
[10:14] <[mbm]> ok.
[10:14] <[mbm]> so the only thing you have left to do is set wifi_* ?
[10:14] <Semhirage> correct
[10:15] <[mbm]> nvram set wifi_ifname=br0; nvram set wifi_ifnames=eth1; nvram set wifi_proto=static; nvram set wifi_ipaddr=192.168.2.1; ifup wifi; wifi up
[10:15] <J4k3> ah-ha... so wifi_ is the universal adjustment method now... that'd explain how the wifi binary gets its commands
[10:15] <[mbm]> J4k3: no.
[10:16] <[mbm]> wifi_* is the same as lan_* and wan_* .. it's NOT for SSID, beacon, fragmentation or any other *RADIO* configuration
[10:16] <J4k3> well... 'wifi up' seemed to be smart enough to tell my atheros card to go into AP mode, essid 'OpenWRT' ;)
[10:17] <J4k3> ahhh
[10:17] <J4k3> ok
[10:17] <Semhirage> [mbm]: so far so good
[10:17] <Semhirage> haven't locked myself out yet
[10:17] <[mbm]> wifi_* is only provided for setting the *IP_ADDRESS* if the wireless isn't part of another interface
[10:17] <J4k3> I didn't feel like learning at that moment, so I just disabled it in the scripts and threw a few iwconfig lines in.
[10:18] <[mbm]> all the *RADIO* settings are in wl0_*
[10:18] <J4k3> ahh
[10:18] <[mbm]> and controlled by "wifi up"
[10:18] <[mbm]> "ifup wifi" is for setting the *IP_ADDRESS* based on wifi_*
[10:18] <J4k3> well, will wl0 adjustments affect the ath0 interface at this point in time in openwrt?
[10:18] <[mbm]> Semhirage: well, your wireless should be up now :)
[10:18] <Semhirage> awesome
[10:19] <[mbm]> J4k3: yes :)
[10:19] <Semhirage> wish i had a wifi enabled pc to test it
[10:19] <Semhirage> fkn wife left her notebook at work
[10:19] <J4k3> [mbm]: ahh, ok... that'll work ;)
[10:19] <Semhirage> so now i have to set all the wl0_ nvram vars for wireless manually right?
[10:19] <[mbm]> Semhirage: and I don't have a paypal link, but there is a link on openwrt.org/mbm
[10:20] <Semhirage> =D i'll see what i can do
[10:20] <[mbm]> Semhirage: actually you don't need to set most of them, try this - ipkg install wl; wl status
[10:21] <[mbm]> should say something like "ssid: openwrt" "mode: managed"
[10:21] <Semhirage> SSID: ""
[10:21] <Semhirage> Mode: Ad Hoc RSSI: 0 dBm noise: 0 dBm Channel: 1
[10:21] <Semhirage> BSSID: 00:00:00:00:00:00 Capability: IBSS ShortSlot
[10:21] <Semhirage> Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
[10:21] <[mbm]> ah. you haven't upgraded the wifi package
[10:21] <Semhirage> o.0
[10:22] <[mbm]> ipkg update; ipkg install wificonf; wifi up
[10:22] <Semhirage> Package wificonf (2) installed in root is up to date.
[10:22] <[mbm]> hrm.
[10:23] <Semhirage> i only have 3 nvram vars for wl0_
[10:23] <[mbm]> anyways, there's a minor bug with the wifi stuff in rc2 that if none of the wl0_* vars exists it doesn't configure things right
[10:23] <Semhirage> wl0id=0x4320
[10:23] <Semhirage> wl0gpio2=0
[10:23] <Semhirage> wl0gpio3=0
[10:23] <estel> i still don't manage it to install a new firmware: atftp and the windows tftp client don't work (at least the way i'm using them)
[10:23] <[mbm]> you should have wl0_mode=ap wl0_ssid=OpenWrt wl0_channel=11 (or atleast a value for all those ..)
[10:24] <[mbm]> then run "wifi up"
[10:24] <estel> bootwait is on: because the dms led is on for few seconfs when i boot my wrt54gs
[10:24] <[mbm]> estel: dmz on solid or flashing?
[10:25] <estel> solid
[10:25] <[mbm]> estel: sounds like you installed an openwrt image, openwrt booted, found some jffs2 data but was unable to boot from it .. try failsafe
[10:26] <Semhirage> yay my wireless is up, managed and has an SSID
[10:26] <Semhirage> w00t
[10:26] <estel> it can boot: nmap says there is a dnsd running
[10:26] <estel> and there is...
[10:26] <estel> so the (old) firmware on the router still works
[10:26] <J4k3> estel: serial term!
[10:27] <estel> (1) where is the serial port and (2) how do i use it ;-)
[10:28] <estel> btw: when i reset the router i can access the old firmware that I've installed in february
[10:29] <[mbm]> estel: openwrt will turn the dmz led on at the start of bootup and off when fully booted
[10:29] <estel> openwrt does it
[10:29] <[mbm]> if the dmz led stays on you either didn't wait for it to boot or something has prevented it from finishing
[10:29] <Semhirage> or its in failsafe
[10:29] <Semhirage> =D
[10:30] <estel> it doesn't stay on
[10:30] <[mbm]> in failsafe it flashes like crazy
[10:30] <Semhirage> o.0
[10:30] <Semhirage> err, when i failsafed, which actually reset the nvram, it stayed on solid the whole time
[10:30] <Semhirage> but it still let me log in through ssh
[10:30] <estel> i can login using telnet
[10:31] <[mbm]> Semhirage: if it wasn't flashing then you weren't actually in failsafe
[10:31] <[mbm]> estel: ok, so what's the issue?
[10:31] <estel> i'll try to explain once more:
[10:31] <[mbm]> you have a working openwrt .. you want to reflash with something else?
[10:32] <estel> when i just bootup normally no sshd oder telnetd starts; when i boot in failsafe a telnetd starts
[10:32] <estel> but all my settings and configurations are lost, so i want to upgrade to a newer firmware
[10:32] <nbd> estel: did you run firstboot in failsafe?
[10:32] <[mbm]> not much point if you're just going to upgrade ...
[10:32] <estel> no
[10:32] <[mbm]> upgrade first, boot failsafe and then run firstboot
[10:33] <estel> but if i want to upgrade i have to install the latest firmware?
[10:33] <[mbm]> if you're still having issues with tftp see the sticky post at the top of the forum
[10:33] <[mbm]> and no you don't have to flash back to the linksys firmware
[10:33] <[mbm]> (also upgrade instructions in the 00-readme)
[10:34] <[mbm]> basically get a trx file and use mtd to write to the flash
[10:34] <Semhirage> w0w this was pretty easy
[10:34] <Semhirage> thx again [mbm]
[10:34] <Semhirage> i can actually get a few hours of sleep tonight and start on my server services tomorrow
[10:34] <Semhirage> =P
[10:36] <Semhirage> now for iptables and firewalling, i only have to worry about vlan0 and br0 right?
[10:37] <[mbm]> Semhirage: you said you didn't want to firewall the server, and the wrt will firewall connections from the wan (internet) to the wrt by default
[10:37] <jkp> guys - im having a wierd issue with my router and modem and im not really sure how to go about solving it. I have a dlink 300g+ that is handling the pppoa connection to the net, and it is connected to my WRT54GS running openwrt. The thing i dont understand is that when i connect my computer to the modem directly i get a dhcp address assigned and i can actually talk to the modem (its address is 192.168.0.1), however, with the wrt co
[10:37] <[mbm]> Semhirage: if you want to play around with port forwarding and such, look at /etc/firewall.user
[10:38] <Semhirage> excellent, just tested with nmap, so far working like a charm
[10:38] <Semhirage> lan is firewalled tighter than a frogs ass, and server is running its own firewall with proper allowances
[10:38] <[mbm]> oh, that's another thing .. the firewall will reject most nmap scans, even if the port is actually open
[10:38] <[mbm]> :)
[10:38] <Semhirage> even nmap -sS
[10:39] <jkp> anyone follow what i just said before it gets scrolled off the screen?
[10:39] <[mbm]> Semhirage: the only one that'll actually give you an honest answer is the connect() scan
[10:39] <Semhirage> o.0 and how do i run that bad boy
[10:39] <Semhirage> =P
[10:40] <[mbm]> jkp: you typed more than can fit in one message .. it got cut at "with the wrt co....."
[10:40] <jkp> ...nected to it, it is not visible to myu network. I have been having a wierd issue where the wrt refuses to connect through the dlink after a power cut, and i am in this position now. what i am wondering is how i can setup the wrt so it is acting like my computer is now, that is as a client to the dlink, and then have it route all traffic from the network out onto the net via the dlink? my machine is outward facing on the net at
[10:40] <jkp> [mbm]: thanks
[10:40] <jkp> did that cut again?
[10:40] <[mbm]> Semhirage: -sT .. it's the slowest of all scans
[10:40] <estel> bin files have a vendor specific header, trx files have not - but why do i need a trx file for flashing? why will a bin file not work?
[10:41] <[mbm]> jkp: yeah .. "on the net at....."
[10:41] <jkp> ....via the dlink? my machine is outward facing on the net at the moment in this way, so i see no reason why the wrt cant act this way....an y thoughts?
[10:42] <[mbm]> jkp: sometimes the ethernet auto negotiation fails .. saw it happen where a dlink and a linksys refused to see eachother even with a cable directly connecting them
[10:43] <jkp> yer, its a pita
[10:43] <[mbm]> put a stupid hub between them and it was fine
[10:43] <jkp> atm i cant get them to see each other
[10:43] <jkp> really?
[10:43] <Semhirage> [mbm]: even with -sT the lan ip of the wrt is locked down tight, not a single port open
[10:43] <jkp> hmmmm...any other solution at all?
[10:43] <jkp> and is that really most likely what it is then?
[10:44] <[mbm]> jkp: when you connect devices they try to automatically figure out the link speed (10 or 100) and duplex (wrt will also try to figure out if it's needs to crossover or not)
[10:45] <[mbm]> some devices just can't negotiate with eachother
[10:45] <jkp> shit
[10:45] <jkp> thats a pain....is there some way i can log this negociation so i can verify this is the issue?
[10:45] <jkp> is there something under /proc?
[10:46] <[mbm]> what model wrt is it?
[10:46] <jkp> wrt
[10:46] <jkp> oops
[10:46] <jkp> wrt54gs v2 i think
[10:46] <[mbm]> (says on the bottom, "model no")
[10:46] <jkp> ok - ill go check
[10:48] <jkp> it just says wrt54gs
[10:48] <jkp> but it has the larger memory i know that much
[10:49] <[mbm]> no version number after "WRT54GS"? that means it's a v1.0
[10:49] <jkp> no - it seems to have no number, but i was sure it was a v2
[10:49] <jkp> im not sure why
[10:50] <[mbm]> jkp: well unless you've been playing mix and match with the cases that's a wrt54gs v1.0
[10:50] <jkp> nah :)
[10:50] <[mbm]> (which is based on a wrt54g v2.0)
[10:50] <jkp> ah
[10:50] <jkp> thats what im thinking then
[10:51] <[mbm]> they just take the v2.0 boards and add more ram and flash
[10:51] <jkp> yeah - thats it
[10:51] <jkp> whats the deal with the GS v2 then?
[10:51] <[mbm]> that's based on the wrt54g v3.0
[10:52] <jkp> ok - so any way to check this situation out a bit more thoroughly?
[10:54] <[mbm]> right .. the ethernet switch in there is a adm6996 .. there's a program called amdcfg which can give you the status of the switch but admcfg has a few bugs which can temporarily reset the switch configs (until a reboot) so it's not exactly recommended or supported for regular use
[10:54] <jkp> ok
[10:54] <jkp> ill log in now
[10:54] <[mbm]> you'll have to look on tracker.openwrt.org to find the url to admcfg
[10:55] <jkp> ah - its not default?
[10:55] <[mbm]> then it's just "ipkg install http://..."
[10:55] <jkp> shit ... thats bad, i cant get the router online
[10:55] <[mbm]> (what part of "not supported" didn't you understand?)
[10:55] <jkp> no - thats fine
[10:55] <[mbm]> hence not in the default set
[10:55] <[mbm]> if you can't get the router online you can scp it over to the router
[10:56] <jkp> yeah
[10:56] <[mbm]> admcfg will give you the current switch status (sort of like ifconfig) and you can also manually set the speed and duplex of the ports
[10:56] <jkp> so - i could override the speed?
[10:56] <[mbm]> right
[10:56] <jkp> ie - set it correctly
[10:57] <jkp> cool
[10:57] <Semhirage> omfg im about to get angry
[10:57] <Semhirage> i edit a file in nano using nano -w and it truncates the entire file onto line
[10:57] <Semhirage> err 1 line
[10:57] <[mbm]> jkp: just keep an eye on the vlans .. every now and then admcfg will move the vlans around on you
[10:58] <jkp> [mbm]: i always wondered what it was in the router that was connecting to the net, since i couldnt see anything responsible for that
[10:58] <jkp> so, in this case, the router is not doing that at all
[10:58] <jkp> its just negociating a connection to my modem which is connected
[10:58] <jkp> so
[10:58] <[mbm]> router is connected to a 6 port switch; 5 of the ports are on the back (lan 1-4 and wan)
[10:59] <jkp> why cant i see the 192.168.0.0 network through the router?
[10:59] <[mbm]> switch has a vlan feature which basically breaks it up into smaller switches
[10:59] <jkp> [mbm]: yeah
[10:59] <jkp> i know you can set it how you want
[10:59] <[mbm]> so the wan becomes vlan1 and the lan becomes vlan0
[10:59] <jkp> bridge the wlan with a port, or a couple of ports or whatever
[10:59] <[mbm]> a single ethernet connection between the switch and the wrt ...
[11:00] <[mbm]> (aka port 5 of the switch)
[11:00] <jkp> is the wan...
[11:00] <[mbm]> no.
[11:00] <[mbm]> the external connector labeled wan is 0
[11:00] <[mbm]> the lan ports are 1-4
[11:00] <jkp> ok
[11:01] <[mbm]> the connection inside the wrt, that goes from the wrt's ethernet card to the switch is 5
[11:01] <[mbm]> it's a tagged port so the vlan headers are left intact
[11:01] <[mbm]> meaning that packets from the lan get tagged with vlan0
[11:02] <[mbm]> and packets out of the wrt to the lan also get tagged as vlan0 which tells the switch where they go (what ports)
[11:02] <KeefR_> or tagged with another vlan-id ;-)
[11:02] <[mbm]> (switch has a configuration, ports 1-4 are vlan0)
[11:03] <[mbm]> .. done via the vlan* nvram variables and sent to the switch by the ethernet driver
[11:03] <jkp> so are you saying that the router can see 192.168.0.0 (the modems network) but i cant?
[11:03] <estel> I don't manage it - i have an old firmware and want to install a new one - where can i find informations about how to do that?
[11:06] <Semhirage> -_- nmap sucks
[11:06] <[mbm]> jkp: the way it's setup the lan and the wan ports almost become separate interfaces (vlan0 and vlan1), you won't be able to see the wan network directly from the lan
[11:07] <[mbm]> even though it's actually the same switch
[11:07] <jkp> so could i see it from the router? ie - if i wanted to talk to the modem, could i forward the correct port to my network?
[11:07] <Semhirage> just like my server can't see my network, if i unplug its eth1 =P
[11:08] <GO-Yaa> is there any way to backup my current fw and setting from my router to a .bin file?
[11:08] <[mbm]> jkp: think of it as two network cards. the router is able to see both of them.
[11:08] <mencey> somebody compiled mmc.c?
[11:08] <[mbm]> GO-Yaa: a bin file? no. see openwrt's 00-readme for backup instructions
[11:09] <GO-Yaa> thx
[11:09] <jkp> [mbm]: yeah exactly, so i ought to be able to set the router to froward ports from one to the other if i need temp access, say to the web configuration of the modem
[11:09] <[mbm]> mencey: don't think there are any compiled versions (mostly since everyone likes to change the gpio pins, which need to be defined at the top of the file)
[11:09] <d00f> [mbm]: does it exist risk to delete br device and create vlan on each port ? does it make impact on wrt54gs performance ?
[11:09] <[mbm]> jkp: sure.
[11:10] <jkp> [mbm]: cool - thats the only reason i need access to that network
[11:10] <jkp> and i can only connect atm by disconnecting the modem from the router and connecting to the modem directly
[11:11] <[mbm]> d00f: when two ports share the same vlan, going from port to port is handled by the switch. when you put them in separate vlans, then they have to find a path across the vlans .. having to go through the wrt's internal network will slow down the throughput
[11:11] <[mbm]> but yes, it can be done
[11:12] <[mbm]> difference is that the switch you have 100 full duplex between anything
[11:12] <[mbm]> but the wrt is a single 100 port
[11:13] <[mbm]> it's impossible to go vlan -> wrt -> vlan at full speed
[11:13] <estel> what does "source port mismatch" mean?
[11:14] <[mbm]> estel: in what context? (where did you see that?)
[11:14] <Semhirage> [mbm]: thanks again for the help, i'll see about taking care of something on that wishlist, and have a good night, IM OUT -ZzZzzzzzz
[11:14] <[mbm]> Semhirage: *grin*
[11:14] <mencey> mbm: ok, I can send one fotografia with my gpio pins?, is that the original photos are not seen well.
[11:14] Action: [mbm] loves teaching people networking
[11:15] <[mbm]> fotografia? (is that a horrible spelling of "photograph?")
[11:16] <Semhirage> lol sounds like deutsche to me
[11:16] <estel> [mbm]: using atftp; I've also cleared my arp table (and it was empty...)
[11:16] <estel> may a static entry help?
[11:16] <[mbm]> Semhirage: silly germans, always saying "die!" all the time ...
[11:16] <Josephus> lol
[11:16] <mencey> mbm: picture, i am spanish ;)
[11:17] <[mbm]> mencey: "photograph" .. anyways, once you have the mmc module working the sd card shows up as a drive (block device) which you then mount to whatever directory
[11:18] <[mbm]> your photos will be somewhere on the sd card labeled DSC*jpg
[11:19] <KeefR_> d00f: I had additional 3 vlans on my wrtg, works good, but if you need performance, you should choose other hardware
[11:19] <sgn> Anyone had luck using WPA2-WDS?
[11:20] <d00f> KeefR_:ok thanks, i keep the default setting
[11:20] <[mbm]> KeefR_: individually the vlans work great, it's just the speed between the vlans that sucks (partially because the wrt can't keep up, and partially because the connection from the wrt to the switch gets flooded the more you segment the switch)
[11:21] <d00f> if i understand, wrt has a bad hardware ? i cant do 100Mb on each port ?
[11:21] <KeefR_> [mbm]: well, it wasn't a big problem in my environment, had another accesspoint connected with the 3 tagged vlans, so the accesspoint already is one limit ;-)
[11:21] <Kaloz> re
[11:21] <KeefR_> d00f: it can do 100mb on each port if the packets don't have to go through the wrt, but are handled by the switch hardware
[11:22] <[mbm]> d00f: the switch can do a 100 full duplex, the wrt doesn't have enough cpu power to crank out packets at 100 full
[11:22] <donlaverty> is anyone here who knows a bit about tc?
[11:22] <sgn> [mbm]: probarbly only you and nbd who has the answer to this question: Is it supposed to be possible to run WDS over WPA2?
[11:22] <[mbm]> sgn: yes. (haven't tried that one, heard you need to set the ssid's identical ..)
[11:23] <sgn> [mbm]: you need to matching ssid's to get it working with at all with encryption
[11:23] <donlaverty> i want to do the following: root@OpenWrt:~# tc qdisc add dev vlan2 root tbf rate 850kbit latency 50ms burst 1540
[11:23] <sgn> set matching ssid's even
[11:24] <[mbm]> d00f: if a packet travels "vlan -> wrt -> vlan" then the wrt has to recieve the packet and retransmit the packet .. as already mentioned, the wrt can't handle 100 full duplex (and it'd be impossible to get full duplex since you're already sending and recieving)
[11:25] <donlaverty> which is answered by tc with RTNETLINK answers: Invalid argument - but the exact same command works on my linux box (no wrt) - i just cant figure out what the invalid argument is
[11:25] <[mbm]> .. not to mention the software filtering the wrt would perform on the packets as they crossed
[11:26] <[mbm]> donlaverty: did you load the sch modules?
[11:26] <sgn> [mbm]: thing is, I need to allow both psk1 and psk2 on the net. if i set akm=psk psk2, the wrt seems to get confused as to which encryption to use for WDS
[11:27] <sgn> perhaps setting psk2 psk makes it try psk2 first?
[11:27] <donlaverty> mbm: no - seems if i didn;
[11:27] <donlaverty> 't... will try that
[11:28] <[mbm]> sgn: I don't know if you can have clients and wds use different encryption schemes (different keys yes ....)
[11:28] <donlaverty> mbm: thank you - that was the problem!
[11:29] <sgn> [mbm]: perhaps if i used a separate wds akm and key?
[11:30] <[mbm]> hmm..
[11:30] <KeefR_> on my other aps I've got the option of running multiple wlans (virtual wlans) with different encryption settings and stuff like that. that on wrt54g would be really cool ;-)
[11:30] <[mbm]> sgn: the script seems to allow wl0_akm (clients) and wl0_wds_akm (wds connections)
[11:31] <[mbm]> (look at /sbin/hotplug...)
[11:31] <sgn> yes, but does it allow both of them, or does it only search for both variables
[11:31] <sgn> it seems to "quit" after finding one of them
[11:32] <[mbm]> sgn: right .. hotplug only has to deal with wds
[11:32] <[mbm]> so it trys wl0_wds* variables before falling back to wl0_* variables
[11:33] <sgn> so theoretically, it's possible=
[11:33] <sgn> ?
[11:33] <[mbm]> looks like it
[11:34] <sgn> then ill give it a try
[11:34] <[mbm]> wl0_akm=psk wl0_wds_akm=psk2 ...
[11:35] <sgn> i can use _akm=psk psk2 and _wds_akm=psk2, right?
[11:39] <[mbm]> I don't think you get to do more than one value per var for those
[11:39] <sgn> well, if i use only one AP, it can do both psk and psk2
[11:40] Action: [mbm] really hasn't messed with the wpa stuff much
[11:40] <sgn> [mbm]: rebooting them now... see you on the other side :)
[11:42] <[mbm]> sgn: just found it .. options are listed in /etc/init.d/S41wpa .. "psk psk2" is a valid choice
[12:02] <elenion> re
[12:03] <elenion> finally i've managed to install the new firmware; the data was sent and the last message was something like "ACK received"
[12:04] <elenion> but now I cannot access the router
[12:04] <elenion> ping doesn't work and so does arping
[12:05] <elenion> the power led is on; dmz and wlan both off;
[12:05] <elenion> any idea?
[12:06] <elenion> i've used atftp as described on the install page
[12:07] <[mbm]> it's only forced to 192.168.1.1 for tftp, once it boots it'll be whatever address you last configured it for
[12:07] <elenion> but at least arp should work
[12:07] <elenion> arp is more low level than ip
[12:07] <[mbm]> an arp to the wrong ip does nothing
[12:08] <elenion> no, arping MAC
[12:08] <elenion> and that is independent from ip
[12:09] <[mbm]> estel: reboot the router, what leds come on?
[12:10] <estel> one mom
[12:11] <estel> first power led flashes, than power and dmz led are on, after a while dmz turns off
[12:11] <mencey> somebody has installed a SD in wrt54g version 2.0?
[12:11] <estel> what is 'SD'?
[12:12] <mencey> SD card
[12:15] <J4k3> damn these silly bob dobbs screen savers.... Bubb Rubb kicks Bob Dobb's ass.
[12:15] <J4k3> with a machete.
[12:15] <[mbm]> estel: sounds like it booted. if you can't find it then try failsafe.
[12:16] <mencey> estel: http://www.palmstore.com.ar/thezone/images/1131%20sd%201gb%20Kingston.jpg
[12:19] <estel> that worked
[12:19] <estel> i can connect to white russian using telnet ;-)
[12:20] <Rawplayer> :-)
[12:20] <estel> what to do next? should i reboot the router once more to look if it has now the right ip or first looking for wrong options in nvram?
[12:21] <estel> in fact lan_ipaddr is set to 192.168.1.1
[12:21] <Rawplayer> read the manual
[12:23] <[mbm]> estel: you got in via failsafe? run firstboot.
[12:23] <[mbm]> sounds like the jffs2 was trashed out from a previous install
[12:24] <estel> already done
[12:24] <kender> hello!
[12:25] <[mbm]> estel: did that fix normal boots?
[12:30] <jkp> [mbm]: which port an i looking at setting with admcfg?
[12:30] <jkp> port 5?
[12:30] <jkp> or port 0
[12:31] <KeefR_> hm, what's currently the cheapest source for a wrt54g in germany? still mediamarkt online for 50 euro?
[12:33] <schlitzer_ed> ich denk mal ja ;-)
[12:33] <KeefR_> *g*
[12:33] <[mbm]> jkp: 0.
[12:34] <jkp> [mbm]: whats the help switch?
[12:34] <[mbm]> umm.. -h?
[12:34] <jkp> (btw....i notice you are being very modest here...you wrote the thing!)
[12:34] <jkp> yeah - -h is not giving anything
[12:35] <jkp> i wonder if i have teh correct version installed
[12:35] <[mbm]> not even sure it had a help screen
[12:35] <jkp> ok - so, i just need to set it to 100baseT
[12:36] <jkp> no man page is a bit of a showstopper for someone not in the know :/
[12:36] <jkp> found your post about it tho<