I've spent some time developing the localhost CGI in order to setup wireless.
http://git.debian.org/?p=users/kai-guest/nostromo/.git;a=tree;f=webc;hb=refs/heads/webc
I've tested this successfully on my Thinkpad X40. Though your mileage may vary:
http://build.webconverger.org/mini.wifi.2008-11-09.iso
The following bits of firmware were dropped in:
bnx2-06-4.0.5.fw
bnx2-09-4.0.5.fw
ipw2100-1.3.fw
ipw2100-1.3-i.fw
ipw2100-1.3-p.fw
ipw2200-bss.fw
ipw2200-ibss.fw
ipw2200-sniffer.fw
iwlwifi-3945-1.ucode
iwlwifi-4965-1.ucode
iwlwifi-4965-2.ucode
ql2100_fw.bin
ql2200_fw.bin
ql2300_fw.bin
ql2322_fw.bin
ql2400_fw.bin
ql2500_fw.bin
rt2561.bin
rt2561s.bin
rt2661.bin
rt73.bin
Do *NOT* deploy this test version as there is a /file utility for
debugging that's unsecured, making Webconverger trivial to crack once
booted.
If your wifi card is a very cheap one where you need ndiswrapper to
get it working, buy a better one. :P
I need your help testing this as it's actually quite hard to test
wireless cards.
Kind regards,
You can only connect to unsecured or WEP networks atm. So you managed
to connect to an unsecured network?
If so, that's good start. :)
Ok, I've improved the wifi script to do WPA now. So the latest builds
(with nostromo 1.8.7-13 or greater) on
http://build.webconverger.org/
http://build.webconverger.org/mini.2008-11-11.packages
Might work. ;-)
> How do you forsee bundling this into a release of Webconverger? If you
> connect to the Access Point then someone reboots the PC the WiFi
> settings are lost. How would you save these settings to a read only
> CD?
Well for live CDs (I thought you were a hard drive install user) I
should be able to setup some boot options, since I have a good idea
how to configure wireless devices from my http://localhost/wifi cgi
experiments.
So I propose new boot options like:
homepage=http://portal.webconverger.com essid="mywlan" key="secret"
Of course the image BOOT_APPEND would have to set to this, i.e. you
need to build it. If it's a USB image you can simply edit the image.
Alternatively if you use http://localhost/wifi and setup you wifi
there on a hard drive install, the settings would be saved.
Still unsure about the http://localhost services. Is a good direction
to go down? What happens if Joe Public alters the wireless settings? I
could password protect http://localhost & set some password from the
boot option, but that's too easy to "hack" with file:///proc/cmdline
hmmmm... lots to think about still before a release. nn,
Yes, I think this is the approach I attempt to describe at the bottom of:
http://webconverger.org/networking/
I think the generic term is called
http://en.wikipedia.org/wiki/Wireless_Distribution_System
I didn't know of any users who have ever pulled this off (besides
myself) until now. :-)
Kind regards,
Great! Exactly what I've been waiting for (for USB), this will make Webconverger so much more useable.
> Still unsure about the http://localhost services. Is a good
> direction
> to go down? What happens if Joe Public alters the wireless
> settings? I
> could password protect http://localhost & set some
> password from the
> boot option, but that's too easy to "hack"
> with file:///proc/cmdline
>
> hmmmm... lots to think about still before a release. nn,
To me, many good boot options are most important. For USB and harddrive they are very easy to change permanently and I wouldn't really want my harddrive installation to save anything anyway.
For wireless, an option to choose the best open network available would be great.
I made a small "mesh network" consisting of one open-mesh.com node connected to the internet and another connected to the client pc. Thus I put up a public wireless lan at the same time as I connected the public internet pc to the internet.
Best regards,
Guttorm
Still need to build this in. Might be able to do it tomorrow evening.
Sent from a mobile on-the-go
On 15 Nov 2008, 9:36 AM, <gav...@gmail.com> wrote:
Hi Kai, does the Live CD currently cater for WiFi Boot Commands or do
you still need to build this in?
Thanks, Gavin
On Nov 12, 9:17 pm, "Kai Hendry" <hen...@iki.fi> wrote:
> On Wed, Nov 12, 2008 at 4:06 AM, <gav...@gmail.com> wrote: > > The first Access Point is connecte...
> I think the generic term is calledhttp://en.wikipedia.org/wiki/Wireless_Distribution_System
> > I didn't know of any users who have ever pulled this off (besides > myself) until now. :-) > > K...
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subs...
Sorry, I didn't find time yesterday for this. Will hopefully get time this week.
So I added a wlan= boot option described in:
http://webconverger.org/networking/
It surprisingly worked first time on my X40. Code that works first
time... I must be getting good. ;-)
Let me know how it goes for you.
Kind regards,
Sorry I have changed everything again last weekend and I had trouble
with corrupt uploads to the repo. I'll let you know when its more sane
to test wlan. :/
> I also use a Boot Command xvideomode=1024x768 which had worked fine in
> a previous release but popped an error message when booting using the
> new WiFi release. Any idea why this might have happened?
This happened:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499304
Kind regards,
I changed it last weekend though the daily builds are broken now.
The new syntax will look like:
wlan=essid,key
This should work for WEP & WPA secured WLAN.
In case the essid is unencrypted:
wlan=essid,
So no interface part. Will let you know when daily builds resume ...
I am planning to demonstrate Webconverger on a conference for IT-managers from schools of the county the coming Monday. A build with working wireless boot commands would be great.
Hopefully the computers I have to demonstrate have the supported chips.
A command to just connect to the best available open network would be cool:)