Re: [SLUG] Wireless on iBook G4

2008-04-02 Thread Alan L Tyree
On Thu, 03 Apr 2008 12:02:40 +1100
Sven Peters <[EMAIL PROTECTED]> wrote:

> G'Day Alan,
> 
> What's in your /etc/wpa_supplicant/wpa_supplicant.conf?

-

# this first part is essential, according to all documentation
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# connect to any public network
network={
ssid=""
key_mgmt=NONE
priority=0
}



> Try to start your WIFI manually by 
> 
> sudo wpa_supplicant -i wlan0 -D 
> -c /etc/wpa_supplicant/wpa_supplicant.conf -dd
> 
> and watch the output for errors.

Thanks Sven. I don't actually have a wireless - I was hoping to get it
working for a road trip that I am planning. I was trying to connect at
the local Apple shop.

Maybe best to get a wireless myself and fiddle with it until I
understand what's going on.


> 
> Cheers,
> Sven
> 
> On Thu, 2008-04-03 at 11:48 +1100, Alan L Tyree wrote:
> > G'day,
> > 
> > Trying to get the wireless working on my iBook G4 running Debian
> > Etch, Gnome, Network Manager bcm43xx and wpa_supplicant.
> > 
> > I can connect to open networks, so the bcm43xx is working, but when
> > I tried a WPA network this morning I get (from /var/log/messages:
> > 
> > Apr  3 10:42:13 misty kernel: SoftMAC: Open Authentication completed
> > with 00:18:4d:09:a9:9c 
> > Apr  3 10:42:17 misty kernel: bcm43xx: set
> > security called, .level = 0, .enabled = 0, .encrypt = 0 
> > Apr  3 10:42:17 misty last message repeated 4 times Apr  3 10:42:17
> > misty kernel: SoftMAC: Open Authentication completed with
> > 00:18:4d:09:a9:9c 
> > Apr  3 10:42:20 misty kernel: bcm43xx: set security
> > called, .level = 0, .enabled = 0, .encrypt = 0 
> > Apr  3 10:42:20 misty
> > last message repeated 5 times
> > 
> > And then it gives up.
> > 
> > What should I be looking for?
> > 
> > Thanks for any help.
> > Alan
> > 
> > -- 
> > Alan L Tyreehttp://www2.austlii.edu.au/~alan
> > Tel:  04 2748 6206  Fax: +61 2 4782 7092
> > FWD: 615662
> 
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  Fax: +61 2 4782 7092
FWD: 615662
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Wireless on iBook G4

2008-04-02 Thread Sven Peters
G'Day Alan,

What's in your /etc/wpa_supplicant/wpa_supplicant.conf?
Try to start your WIFI manually by 

sudo wpa_supplicant -i wlan0 -D 
-c /etc/wpa_supplicant/wpa_supplicant.conf -dd

and watch the output for errors.

Cheers,
Sven

On Thu, 2008-04-03 at 11:48 +1100, Alan L Tyree wrote:
> G'day,
> 
> Trying to get the wireless working on my iBook G4 running Debian Etch,
> Gnome, Network Manager bcm43xx and wpa_supplicant.
> 
> I can connect to open networks, so the bcm43xx is working, but when I
> tried a WPA network this morning I get (from /var/log/messages:
> 
> Apr  3 10:42:13 misty kernel: SoftMAC: Open Authentication completed
> with 00:18:4d:09:a9:9c 
> Apr  3 10:42:17 misty kernel: bcm43xx: set
> security called, .level = 0, .enabled = 0, .encrypt = 0 
> Apr  3 10:42:17 misty last message repeated 4 times Apr  3 10:42:17
> misty kernel: SoftMAC: Open Authentication completed with
> 00:18:4d:09:a9:9c 
> Apr  3 10:42:20 misty kernel: bcm43xx: set security
> called, .level = 0, .enabled = 0, .encrypt = 0 
> Apr  3 10:42:20 misty
> last message repeated 5 times
> 
> And then it gives up.
> 
> What should I be looking for?
> 
> Thanks for any help.
> Alan
> 
> -- 
> Alan L Tyreehttp://www2.austlii.edu.au/~alan
> Tel:  04 2748 6206  Fax: +61 2 4782 7092
> FWD: 615662

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Wireless on iBook G4

2008-04-02 Thread Alan L Tyree
G'day,

Trying to get the wireless working on my iBook G4 running Debian Etch,
Gnome, Network Manager bcm43xx and wpa_supplicant.

I can connect to open networks, so the bcm43xx is working, but when I
tried a WPA network this morning I get (from /var/log/messages:

Apr  3 10:42:13 misty kernel: SoftMAC: Open Authentication completed
with 00:18:4d:09:a9:9c 
Apr  3 10:42:17 misty kernel: bcm43xx: set
security called, .level = 0, .enabled = 0, .encrypt = 0 
Apr  3 10:42:17 misty last message repeated 4 times Apr  3 10:42:17
misty kernel: SoftMAC: Open Authentication completed with
00:18:4d:09:a9:9c 
Apr  3 10:42:20 misty kernel: bcm43xx: set security
called, .level = 0, .enabled = 0, .encrypt = 0 
Apr  3 10:42:20 misty
last message repeated 5 times

And then it gives up.

What should I be looking for?

Thanks for any help.
Alan

-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  Fax: +61 2 4782 7092
FWD: 615662
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux on Iphone

2008-04-02 Thread Ryan Verner

On 03/04/2008, at 12:28 AM, Ryan Verner wrote:
is 2G, doesn't even have removable memory, and the battery life,  
while bad, isn't as good as a


^ correction: that should read "while not bad".
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux on Iphone

2008-04-02 Thread Ryan Verner

On 02/04/2008, at 10:34 PM, Sridhar Dhanapalan wrote:

I can't possibly understand why you'd want to run Linux on an iPhone.
The reason why one buys an iPhone is for the UI, not the device;
there's better options out there if you're wanting to run Linux (no
removable storage, for one).


I can see why. A lot of people like the iPhone hardware, but prefer  
to run

free software.


I can totally understand the want to run free software; hell, I've  
been actively seeking an open source phone for over 5 years now and  
still don't have one, despite it looking constantly like there'll be  
one coming out right around the corner Anytime Soon now.


My point is there's better hardware out there if you want to do this  
than the iPhone!  The thing is 2G, doesn't even have removable memory,  
and the battery life, while bad, isn't as good as a bunch of the  
Windows Mobile devices I've seen.


Multitouch is rad, but it's only useful once you've designed a UI  
around it conceptually.  You need more than just interfacing to the  
hardware.



[*] S60 (Nokia's GUI for Symbian) can be a pain from a developer's
perspective, but it's a very nice mobile OS for the end-user


I wouldn't call it 'nice', but I consider it probably the best  
tradeoff mobile OS at the moment.  Let's face it; they all suck in  
some way or other currently!


My current phones are a combination of an iPhone for normal phone  
usage and mobile media, and a e61i for email/ssh/web/GPS (Nokia 3G/ 
UTMS phone with a QWERTY keyboard, best I've used on any mobile  
device).  I'm relatively happy with this but wish I could combine it  
into the one device.


I'll never own a damn Windows Mobile device again, after owning a  
handful of them (including WM6 devices; I've owned more phones than I  
care to remember!).  I remember posting on SLUG a couple of years back  
that they weren't so bad; can anybody say delusional?


R
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux on Iphone

2008-04-02 Thread Sridhar Dhanapalan
On Wed, 2 Apr 2008 at 09:49, Ryan Verner <[EMAIL PROTECTED]> wrote:
> On 01/04/2008, at 8:53 AM, Deepan wrote:
> > Hi All,
> > I am wondering if anyone has managed to install
> > linux on iphone? I am aware of ipodlinux, for
> > ipod. Not sure if someone has hacked into iphone.
> > Openmoko is a nice alternative though.
>
> Hi Deepan,
>
> I can't possibly understand why you'd want to run Linux on an iPhone.
> The reason why one buys an iPhone is for the UI, not the device;
> there's better options out there if you're wanting to run Linux (no
> removable storage, for one).

I can see why. A lot of people like the iPhone hardware, but prefer to run 
free software.

I don't think it's worth it, though. I don't know of any commercially-ready 
multi-touch implementations for Linux (even though MPX has been a pioneer in 
the field). You'd need drivers for all the hardware, and I can't imagine 
Apple releasing any hardware specs.

Most so-called 'Linux' phones are based on Linux (i.e. the kernel) but have 
gobloads of proprietary code on top. In that case, you'd may as well be 
running S60[*] or something else.

There are many Linux-based mobile platforms out there. IMHO the ones to be 
watching in the future seem to be Maemo, Qtopia (which might just eclipse 
Maemo), OpenMoko and Android.


[*] S60 (Nokia's GUI for Symbian) can be a pain from a developer's 
perspective, but it's a very nice mobile OS for the end-user



-- 
"Many forms of government have been tried and will be tried in this world of 
sin and woe. No one pretends that democracy is perfect or all wise. Indeed, 
it has been said that democracy is the worst form of government, except for 
all the others that have been tried from time to time."
-  Winston Churchill, 1947


signature.asc
Description: This is a digitally signed message part.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Perl Question

2008-04-02 Thread Matthew Hannigan
On Wed, Apr 02, 2008 at 03:09:44PM +1100, Peter Abbott wrote:
> Can anyone with greater knowledge than myself explain this regex
> behaviour.
>  [ ... ]
> if ( $_ =~ m/^Box(\d) ([A-Z]+(\. | ?)[A-Z]* ?[A-Z]*).*?(\d).*?(\d\d\.\d
> \d).*?(\d*\.\d\d)L/) {
>   $box = $1;
>   $name = $2;
>   $name =~ s/\.//;
>   $place = $4;
>   $time = $5;
>   $margin = $6;
>   }
> Undoubtedly something simple that a self taught dummy has failed to
> grasp.

Doing s/// for $name there resets the $1, $2, .. counters

Matt

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html