Improved Network Wizard (and rc.network)

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#581 Post by Dougal »

Grenville Grimace wrote:Tested, but sorry to report that it doesn't fix the issue.
Well, I'm baffled...
I tried putting the relevant code into a separate script to test it -- and it worked ok.
So I tried using the wizard and setting up a WPA profile for my AP (which is open...), using your key -- and it worked fine:

Code: Select all

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1

network={
	ssid="dlink"
	scan_ssid=1
	#psk="fyQ~xG\a@9zvoO7a[.]lY,f%0w_`0vj3kX<@~zTYnvNBbbEpob(0s:,/>-4`4=}"
	psk=68d7d703eb492c5bac50a9bf8d25e01d04052358b349ae2a985a16158eaaf914
	proto=WPA
	key_mgmt=WPA-PSK
	pairwise=TKIP
	group=TKIP
}
I did find a couple of little bugs, which I fixed:
- the GUI actually got broken by your key, when refreshing (it didn't get quoted, so the '>' broke gtkdialog).
- when saving the wpa_profile, escaped chars got interpreted... so the "\a" in your key got confused fr "alert" (a terminal beep!).

I've uploaded the updated version, please try it and see if it works ok -- I can't see why it shouldn't work otherwise... (unless it's something like the locale?)
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Grenville Grimace
Posts: 8
Joined: Fri 27 Mar 2009, 14:28

#582 Post by Grenville Grimace »

Dougal wrote:I've uploaded the updated version, please try it and see if it works ok -- I can't see why it shouldn't work otherwise... (unless it's something like the locale?)
Success! My eeepc is now on the internet.

Thanks :D

lightheaded1
Posts: 14
Joined: Sat 07 Jun 2008, 11:06

SIOCADDRT error message

#583 Post by lightheaded1 »

I get thi message when I click on static to see what the settings are after using the network wizard.My netmask numbers dont match up as I am connecting thru LAN.When the prompt asks me if I am sure my numbers are correct it gives me the error message and will not connect.If I dont query the setting it connects . GO figure

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#584 Post by Dougal »

Another update:
- fixed problem with funny chars in WPA key
- fix finding network profiles for devices using the prism2_* modules (fixes encrypted networks not connecting on startup, as reported by user pbrouwer).
- add detection of pcmcia card, to know if we need to wait a bit before scanning. Should make pcmcia cards work much more reliably (thanks to mbe's continued testing...).
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#585 Post by Dougal »

Libretto100ct wrote:modprobe i82365
I was looking through a Gentoo udev rules file and noticed a comment that might be relevant here...
# this driver is broken and should not be loaded automatically
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398962
# needed for kernels <2.6.21
SUBSYSTEM=="platform", ENV{MODALIAS}=="i82365", ENV{MODALIAS}=""
So maybe the problem is just i82365 being broken...
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Libretto100ct
Posts: 68
Joined: Sun 21 Dec 2008, 01:15
Location: Ga, USA

#586 Post by Libretto100ct »

Hey Dougal,

Turned out to be faulty hardware. IE: The 16 bit PCMCIA card. Confirmed it using several OS and laptops. The card would turn on, blink, throw back a hit every now and then and then finally no hits at at. The laptops would pick up the card and the LED would flash through all steps like normal. Very annoying. It's taken a week off working on my Libretto only pupplet,

That's always a potential issue with old hardware unfortunately.

I have replacements coming via eBay. The nice thing about old hardware is it's cheap, if not free to replace.

Thanks for all your help.

The tip about loading the module through the bootloader was great. No more need to mess with rc.local . i82365 module works fine on the Libretto 50, 70, 100, 110 laptops. The "# this driver is broken and should not be loaded automatically" is probably the reason why it's turned off in Puppy at boot up. Without it. PCMCIA is not detected at all.

Again thank you for your time and attention to this. You went well above and beyond.

Hopefully, some of the issues I posted above will help you troubleshoot faulty hardware as being the cause if it comes up again in the future.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#587 Post by ttuuxxx »

What I don't understand is why there isn't a download link on page 1 of this post with the latest version or on your last post, I looked around 10 of 40 pages here and nothing, not a single link.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#588 Post by aragon »

i think dougal removed it after some discussions with whodo. but you'll find the last updated version here:

http://www.murga-linux.com/puppy/viewtopic.php?t=40537

aragon

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#589 Post by ttuuxxx »

thanks aragon :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

edl
Posts: 10
Joined: Thu 24 Sep 2009, 17:55

#590 Post by edl »

hi
I tried to read the whole thread, but I did not understand the exact procedure to be able to get that puppy 4.2(kernel 2.6.25.16) autoconect network wireless. Can someone help me figure out which files I need and what to do?
thank you

imnotrich
Posts: 44
Joined: Sat 03 Jun 2006, 03:34
Location: Northern California
Contact:

yes, some people use static ip with wireless

#591 Post by imnotrich »

Yes, some people do use static ip with wireless.

Fewer dropouts (no issues with dhcp lease renewals)

But also because I am sharing printers through my router to a Ubuntu desktop.

nic2109
Posts: 405
Joined: Mon 01 Jan 2007, 20:24
Location: Hayslope, near Middlemarch, Midlands, England

Re: yes, some people use static ip with wireless

#592 Post by nic2109 »

imnotrich wrote:Yes, some people do use static ip with wireless.

Fewer dropouts (no issues with dhcp lease renewals)

But also because I am sharing printers through my router to a Ubuntu desktop.
Anyone who (shame on them) has to use Windoze will find it beneficial as 'doze will relinquish a lease if it goes offline (e.g. it hibernates) which is quite understandable, but then the problem comes when it is woken up again as it will try and use the same I/P address again. Meanwhile the Router may well have allocated it to another user and you have an immediate problem.

It must be feasible to configure it to not behave like this otherwise communities with a large number of users would encounter this all the time, but in my experience most 'doze versions misbehave like this out of the box.

I get round this by assigning the I/P address by MAC address in the Router, so the clients can use simple option to 'Let DHCP allocate the I/P address' and don't need to be any the wiser.
[color=darkblue][b][size=150]Nick[/size][/b][/color]

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#593 Post by mrd »

Can anyone tell me what script or scripts need to be re-run after my laptop resumes from standby? I've been reading these long posts for days and I'm sure it is a simple answer...

Please help...

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#594 Post by rarsa »

At risk of being outdated here is the answer I know:

Executing the startup script should do the trick.

/etc/rc.d/rc.network
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#595 Post by mrd »

Thanks! I'll give it a shot when I get home!

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#596 Post by mrd »

Works perfectly! Thanks very much!

Post Reply