Trouble in paradise, wpa+wpa2 not working

Forum thread started by Pitmaster on Wed, 2013-10-30 15:18

Hi all,
I got placed Haiku on my old notebook, for a second life. Brillant.
Problem is my wifi is regonised as network-device but not as wifi (I think) and my networkcard for cabel isn't regonised at all.
I have run system info for this and the outcome published: http://www.tuinstraat29.nl/systeminfo.html

I use a Fritsbox modem FRITZ!Box Fon WLAN 7340 with FRITZ!OS 05.51. Maybe I can do something here, accept making my systems less secure.

Can I get internet, for the time being just with the cabel, and the best is if I can get wifi working.

Is there someone that can help, thank's in advance,

Pit

Comments

Re: Trouble in paradise, wpa+wpa2 not working

Working on it, a problem to do someting with the wireless card is that if I do ifconfig /dev/net/atheroswifi/0 list that it give back "is not a WLAN device!" wich is a big mistake.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

Does

ifconfig /dev/net/atheroswifi/0 up

help?
Also try a nightly image http://www.haiku-files.org/haiku/development/

Re: Trouble in paradise, wpa+wpa2 not working

Thx Diver, I have downloaded the nightly build, will try it and let you know.
ifconfig /dev/net/atheroswifi/0 up worked, but didn't change anything because the problem is not getting the wireless card up, this card is regonised but I can't get it to pass my modem's security.

It is my sys900 that isn't regonised. So I tried ifconfig /dev/net/sis900/0 auto-config up and it worked!!
The machine does see my sis900 card now.

Connecting through wpa/wpa2 still is a problem. Using the network tool from the menu let me fill in the code that comes with my modem, after 5 seconds the kernel panics and kdebug comes up.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

KERN: "/boot/home/config/add-ons/kernel/drivers/dev/net/atheros": could not resolve symbol '_Notify__17ConditionVariablebT1'
KERN: Could not load kernel add-on "/boot/home/config/add-ons/kernel/drivers/dev/net/atheros": Symbol not found

Somehow, the atheroswifi driver on your system is either younger or older than the kernel code.

Re: Trouble in paradise, wpa+wpa2 not working

phoudoin wrote:
KERN: "/boot/home/config/add-ons/kernel/drivers/dev/net/atheros": could not resolve symbol '_Notify__17ConditionVariablebT1'
KERN: Could not load kernel add-on "/boot/home/config/add-ons/kernel/drivers/dev/net/atheros": Symbol not found

Somehow, the atheroswifi driver on your system is either younger or older than the kernel code.

I have tried to install a driver for my wifi card, that is than a mistake?

I will try to install a new copie of Haiku.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

If you've installed this driver from here http://dev.osdrawer.net/projects/haiku-wifi/ it was a mistake. It is largely outdated. An up to date version is already included in Haiku.

Bringing an interface up helps with "is not a WLAN device!" error. Try to do that and then ifconfig /dev/net/atheroswifi/0 list.

Re: Trouble in paradise, wpa+wpa2 not working

New install gives a list of networks that can be used. Great, looks a lot better.

But ifconfig /dev/net/atheroswifi/0 join MyNetwerk 23456234567887 gives an usual kernel panic. Better than last time, I can type some commands in the kdebug screen. Doesn't help but the machine doesn't hang anymore.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

http://www.haiku-files.org/haiku/development/

All of FreeBSD 9.2 WLAN drivers except aironetwifi should be working.
Atheroswifi supporting almost every Atheros chipset out there.

Currently only PCI, PCI-X, PCI-Express, Mini PCI, and Mini PCI-Express devices are expected to work.
PCMCIA, CardBus, ExpressCard, USB and ISA devices still need more work to become functional.

Re: Trouble in paradise, wpa+wpa2 not working

Can you exit from KDL afterwards using "es" command? If so, you can grab a copy of KDL output from /var/log/syslog and file a ticket at http://dev.haiku-os.org

Re: Trouble in paradise, wpa+wpa2 not working

Yes, this message is coming from Webpositive!!!
I installed the nightly build HREV46302 and all installed like a smooth proffesional OS. Nothing the matter.

Great.

People with problems getting something to work, try the nightly builds, the effort is only 5 minutes and you istalled a hole new OS.

Haha.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

Yes, this message is coming from Webpositive!!!
I installed the nightly build HREV46302 and all installed like a smooth proffesional OS. Nothing the matter.

Great.

People with problems getting something to work, try the nightly builds, the effort is only 5 minutes and you istalled a hole new OS.

Haha.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

Never call it Paradise, just ask Don Henly about that.

Really, I seriously need to upgrade my NIC to a WIFI card that Haiku will accept. I see you people having way too much fun with your Haiku WiFi, while here I am, still tethered to a cable - since my Realtek-8187Se isn't supported (on Haiku or FreeBSD) I CAN do WiFi on FreeBSD with NDISwrapper. But Haiku would be nice!

Re: Trouble in paradise, wpa+wpa2 not working

Sorry, I am just lucky I guess.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

But there is still trouble in paradise. Now I used that nightly build but that is very small, a lot of software is missing.
The homepage off Webpositive writes I have to use installoptionalpackage in a terminal. It leads to a command not found.
It also write if I want to add software just place it in /boot/apps wich doesn't exists.

My goal is to install Lazarus but the .zip.xz file that comes with it isn't something expander can handle.

How to go on?

Pit

Re: Trouble in paradise, wpa+wpa2 not working

installoptionalpackage has been removed (i guess) in favour of the package manager called HaikuDepot. It should be in your nightly image

Re: Trouble in paradise, wpa+wpa2 not working

Indeed, installoptionalpackage doesn't exist anymore. You can use pkgman if you prefer cli. You need to install xz_utils to unpack Lazarus archive. Take a look at this article https://www.haiku-os.org/guides/daily-tasks/install-applications and https://www.haiku-os.org/tags/package_management to learn more about package management. HTH.

Re: Trouble in paradise, wpa+wpa2 not working

Indeed, installing xz-utils worked.

We go on

Pit

Re: Trouble in paradise, wpa+wpa2 not working

I try to install software, reading that I have to unpack them in /boot/common/apps/ but this directory doesn't exist.
I want to autostart my wifi, because it work great but not automatic at start. So I have to edit a file in /boot/common/settings/ but that doesn't exist.

Is this the problem of using a nightly build or is it because this nightly build is newer and therefor changed? Not using the old filestructure anymore?

Pit

Re: Trouble in paradise, wpa+wpa2 not working

For my wifi I found a file called wireless_network in /boot/system/settings/network/ but editting it like https://www.haiku-os.org/guides/daily-tasks/wireless explained doesn't work.

Help (again)...........

Pit

Re: Trouble in paradise, wpa+wpa2 not working

I had the same issue. To have auto connect to wifi at startup, for now, you have to make a shell script like this:

#!/bin/sh
ifconfig /dev/net/atheros/0 join MYSSID

You have to replace /dev/net/atheros/0 with your WLAN interface and MYSSID with the name of your SSID.

Then put this script in /boot/home/config/settings/boot/launch

Re: Trouble in paradise, wpa+wpa2 not working

Pitmaster wrote:

I try to install software, reading that I have to unpack them in /boot/common/apps/ but this directory doesn't exist.

With latest nightlies (with PM) you can:
extract regular apps (eg zip files) to /boot/home/config/non-packaged/apps / (create the "apps" folder if doesnt exist)
Or install hpkg files, moving them to /boot/home/config/packages. You can find packages using HaikuDepot or go on Haikuware.com (personally, i'm updating apps as hpkg), but most of them aren't still available as hpkg.

Re: Trouble in paradise, wpa+wpa2 not working

Giova84 wrote:

I had the same issue. To have auto connect to wifi at startup, for now, you have to make a shell script like this:

#!/bin/sh
ifconfig /dev/net/atheros/0 join MYSSID

You have to replace /dev/net/atheros/0 with your WLAN interface and MYSSID with the name of your SSID.

Then put this script in /boot/home/config/settings/boot/launch

Doesn't work. Made a textfile on the desktop, called it startwifi and edit it with PE.
#!/bin/sh
ifconfig /dev/net/atheroswifi/0 join Mijnnetwerk 102342348765

cd Desktop
cp startwifi /boot/home/config/settings/boot/launch
made it starteble for everyone.

No succes, what's wrong?

Pit

Re: Trouble in paradise, wpa+wpa2 not working

If you have saved the password for your wifi at the first connection, you doesn't need to insert password again using ifconfig.
Stupid question: did you set the script as executable? (Maybe you mean startable=executable? :-)

Re: Trouble in paradise, wpa+wpa2 not working

Giova84 wrote:

If you have saved the password for your wifi at the first connection, you doesn't need to insert password again using ifconfig.
Stupid question: did you set the script as executable? (Maybe you mean startable=executable? :-)

Yes. Sorry, wrong word "starteble"....
Havend used English for a longer period.

I removed the key and saved it. Now it opens the script with StyleEdit

Pit

Re: Trouble in paradise, wpa+wpa2 not working

It is indeed executable. When I start it from a terminal I get "Device/File/Resource busy" message.
The device is already up. ifconfig Device down doesn't work.

Pit

Re: Trouble in paradise, wpa+wpa2 not working

Perhaps you need to ifconfig /dev/net/atheroswifi/0 up before?