Update on TX's wifi status?

So Miska posted a news item about a week ago that he'd got Wi-Fi working on the TX to the point of being able to connect to an ad-hoc network and send data.
(http://hackndev.com/node/180)

Miska: What's happened to that, has anything changed since then? Does it only connect to ad-hoc or can it connect to any network?

Is the wireless driver libertas in the latest untested build? I got tx-hires-kernel, modified 2 days ago apparently (so it must be pretty new), from the (http://atrey.karlin.mff.cuni.cz/~miska/testing/) testing directory, do I have to manually modprobe the driver/add it to linux.boot.cfg? Is it even in it? I would check but my computer's been crippled with Windows at the moment, heh heh, so I can't look at squashfs :(

It was Marex. It will run on

It was Marex. It will run on vanilla kernel. It's currently little bit tricky to get card even being on in Linux and it will require some additional work for vanilla kernel to be usable for everyday use with TX. I've been checking some of these problems lately, fixed some minor bugs in ramdisk (that was one of the changes in testing builds, but honestly, I update them sometimes even if there is no change). Once there'll be something usable for ordinary user, I'll surely let you know. But you should look for tx-vanilla-kernel package ;-) Which is already there, but still quite experimental and without working wifi (as long as I know).

Oh, whoops, mixing up my M's

Oh, whoops, mixing up my M's :P

> usable for everyday use
Me and 'everyday use' do not go together when it comes to electronics :P

I'll take a look at the vanilla kernel. Thanks v. much!

Well, I'm using the vanilla

Well, I'm using the vanilla kernel, the copy updated today.

modprobe -l shows the libertas driver is loaded, what I'd like to know is what 'little tweak' Marex did to get it working as a wireless interface.

Also, the vanilla builds may not be suited for everyday use but they seem more stable and quicker than the last release build - might just be my imagination, but I'm sure they are ^^

There is a firmware .pdb in

There is a firmware .pdb in the palms ram... its that the what is needed?

Well, I can confirm that the

Well, I can confirm that the TX's Wifi works with little configuration - whilst you have to enable Wifi from inside PalmOS, that's no big deal for me, and I doubt it'll be one for others (at least not until people want to completely replace POS w. Linux on their devices) :)

I tried an ad-hoc network; pinged the other computer and it worked fine! Only problem is that I don't think the driver's as far as being able to get the wifi chip to scan for accesspoints (iwconfig says it doesn't have the ability). But that doesn't really matter when you already know the AP's ESSID.

Haven't tried connecting to a router (managed accesspoint) yet - my router doesn't seem to like my Palm, can't connect to it even in POS, and everyone else down my road's wifi is encrypted (not that that makes much difference but I am -NOT- attempting to crack WPA keys with my palm's onscreen keyboard, heh heh)...

Rambling post at 3AM.. not good.. but yeah, just confirming what Marex posted - latest vanilla TX kernel has working Wifi (for me)! And it's easy to sort out from an end-user point of view; I could do it all from OPIE's network setup GUIs...

Wifi works indeed. I

Wifi works indeed. I installed the latest vanilla kernel. Palm connected to my Accesspoint and ip number etc were provided through DHCP.

As this all went okay with no security settings in the accesspoint, there is now one thing I have to find out...How will it work with WPA-PSK. Any suggestions?

Well ... I'm trying to get

Well ... I'm trying to get wi-fi on my T|X, but i think i am missing something ...
jerver, TehDooMCat, it was necessary to type any commands ?
i'm using miska's vannila kernel, libertas driver is loaded as weel, but there's no wlan0 in /dev ...

vettorazzo: Network

vettorazzo: Network interfaces (like wlan0) do not appear in /dev. If you want to check whether the network device is detected try in the terminal:

ifconfig -a

and

iwconfig

It was not necessary to type

It was not necessary to type any commands. All can be set by the network gui in Opie.

iwconfig and/or ifconfig -a

iwconfig and/or ifconfig -a do not show wlan0
via opie network gui, when i try to start a interface a message apperas saying it failed ...

Wifi appeared as eth0 at

Wifi appeared as eth0 at least in my case.

I activated Wifi in PalmOS

I activated Wifi in PalmOS and connected to a network. But once in Opie, the network GUI seems to fail when I hit Start. I'm not sure what's wrong.

the network gui is broken

the network gui is broken

I've managed to bring up

I've managed to bring up WPA.
To make it working I added this:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

network={
ssid="mynet"
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="mykey"
}

to /etc/wpa_supplicant.conf and

iface eth0 inet dhcp
wireless_essid any
wireless_mode Infrastructure
pre-up wpa_supplicant -Bw -ieth0 -c/etc/wpa_supplicant.conf -Dwext
post-down killall -q wpa_supplicant

to /etc/network/interfaces

Then just issued 'ifup eth0' in the console.

were is

were is etc/network/interfaces
and how do i get wifi working???im lost

Aleh, nice one ... good that

Aleh, nice one ... good that someone started deeper investigation on this

> were is

> were is etc/network/interfaces
I have problems not being ironic here ... that's a path
> and how do i get wifi working???im lost
man man, man ifconfig, man iwconfig

I can confirm Aleh's work on

I can confirm Aleh's work on WPA in Managed mode (Infrastructure mode gives me an error). However, only channels 10 and 11 work. Even iwlist eth0 scan gives me results, as long as the found access points are using either of those two channels.

for the time being you can

for the time being you can patch the libertas driver, ch 10 and 11 are only allowed channels in some country (no idea which it is, see the source) and the card reports bad value, so it falls back to these ... I might look into it later ...

It seems that I cannot find

It seems that I cannot find the tx vanilla kernel. I have successfully installed the ones available on miskas sight found here: http://atrey.karlin.mff.cuni.cz/~miska/

Are these the newest files? Such as the vanilla kernel? Because I have tried everything available on that page, and I still do not see that the libertas driver has been loaded under modprobe -l.

Have I missed a link somewhere? I have initialized the wifi in PalmOS, and browsed, then started cocoboot.

What am I missing?

joe.strusz@gmail.com

Ok. Miska finally reuploaded

Ok. Miska finally reuploaded the vanilla kernel for the TX to his test page. However after doing modprobe libertas, nothing appears.

ifconfig -a lists no wifi interface, just the bt, and lo

iwconfig lists none as well, how can i further diagnose this problem?

and yes, wifi was activated in Palm OS is it neccesary to connect to an ap first, then boot linux?

Hello, I'm glad wifi is

Hello,

I'm glad wifi is coming along for the TX, I got mine for free and considered it pretty useless... but if wifi works, then it'll be an ace little device!

Could someone please tell me where I can download the vanilla TX kernel?

It doesn't seem to be at http://atrey.karlin.mff.cuni.cz/~miska/ where the latest kernel is from 8 months ago, and it doesn't seem to be on http://atrey.karlin.mff.cuni.cz/~miska/testing/kernel/ either.

There do seem to be some kernel config files on that last link however, so alternatively could someone point me to a howto on building a kernel for palms, where presumably I could slot in the config files found on that page to build my own?

Cheers,
David

It seems he has uploaded

It seems he has uploaded some newer kernels to the testing page as of November 19, 2008. I will download the newest kernel, and once again try to get the libertas wi-fi driver working. Stay tuned for a how-to and so forth.

Be back tonight or tomorrow.

Joe Strusz

Hi Joe. I saw those files

Hi Joe.

I saw those files from the 19th... but there are none that start with "tx" - but perhaps TT5s and TXs are compatible? Even if they are, the tt5 vanilla kernel upload seems to be corrupt at only 32K:

tt5-hackndev-vanilla-kernel.tgz 19-Nov-2008 21:51 32K

Is the process for building a new kernel documented someplace? It'd be good to know...

Cheers,
David

Hi, new user here. A Palm

Hi, new user here. A Palm user for several years, so completely blown away by this TX innovation - I wouldn't have thought it possible - finally the half-decent Palm hardware can express itself without being lumbered by the insult for an OS that Palm provided! Kudos to its creators/maintainers...

I installed the 'official' version Miska links to and it works great! However, with no bluetooth or wireless hardware being detected, I decided to try the latest 'vanilla' version (pretty recent as I write this - 09-Dec-08). All appears to go well until just before the bit where the Opie desktop should appear, when unfortunately, the screen just goes blank! And this also happens with the 'Hires' version with the same build date, whereas the 'tx-hackndev-kernel.tgz' does actally succeed in booting, even though it produces lots of errors in the process and the card doesn't seem to have mounted properly as it can't be accessed. The promising thing is that more h/w appears to be detected now...

So, can anyone enlighten a newb on how one might get it running???

Try my build from

Try my build from http://hackndev.com/node/246, both bluetooth and GUI should work out of the box.

CleverFool, thanks, I

CleverFool, thanks, I appreciate the suggestion. However, it just dawned on me (after my post!) that maybe the kernel first needed to configure stuff on a 'fresh' FS - for anyone else having similar difficulties, you basically have to hear the "Starting Linux on Palm" (close enough) voice, the one that plays just once when you run things for the first time - and sure enough, I got results! But they've been variable - with the 'vanilla' kernel and the '0505' FS, Odie booted successfully, with at least the BT working straight away, and ' Bluetooth Enable' working for the first time. Unfortunately, for some reason, it hung shortly afterwards so I didn't have the opportunity to investigate further. The more recent 'large' Odie FS also boots perfectly, however, having now started it a few times, I can say that BT isn't enabled for some reason. And I haven't been able to get the 'gpe' file systems to work at all! Nevertheless. making progress :)

Two things I have discovered so far in my Palm-Linux investigations - the SD card drivers are incredibly buggy and unreliable, and Fileroller has serious 'issues' when dealing with very large archives. The latter I wasn't expecting...

Do you have proper kernel

Do you have proper kernel modules installed? They should be in root file system (or in modules file system) in /lib/modules/ directory.

CleverFool, afraid that's

CleverFool, afraid that's way over my head - I am simply copying the various distro's that I have downloaded straight to the SD card, as per the instructions. As I have no way of knowing what the differences are between the 'hires', 'vanilla' or the non-differentiated version of the kernels, it is pretty much a hit-and-miss affair!

The only kernel/filesystem that works out of the box for me is the Opie '0505' filesystem with the non-differentiated (not 'hires' or 'vanilla') kernel. With this I finally got BT working, but only after realising that BT must first be switched-off when booting from Palm OS, otherwise it does not work! I was pretty disappointed to find that only plain OBEX-push has yet been implemented though - same as Palm, so browsing the internet on the Palm with the help of the likes of the excellent Blueman on Ubuntu isn't going to happen anytime soon...

btw, I finally managed to get one of the 'GPE' filesystems to work properly - up until then, they always booted to a command-prompt, which isn't much use on a keyboard-less Palm! Incredibly slow though...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.