Beaglebord running Ubuntu - Networking problem

Hi everyone,

I have just installed ubuntu on my beagleboard (after getting really upset from Angstrom) and I cannot manage to have internet connection at all!
I need wireless connection, so first I configured the wpa_supplicant.conf according to the tutorial here
http://antipastohw.pbworks.com/w/page/27990127/Wi-Fi%20Setup%20Using%20Belkin%20F5D7050%20USB . It doesn’t work.

Then I tried the simple approach, listed on eLinux.org/BeagleBoardUbuntu for the wireless connectivity, but this fails too.

I cannot even get connected through ethernet (which I don’t want).

The error I’m getting is:
ioctl[SIOCDIWENCODEEXT]: Invalid argument
ioctl[SIOCDIWENCODEEXT]: Invalid argument
Failed to bring up wlan0

Does anyone know what I might be missing?

Thanks in advance.

Marina

So which usb wifi device are you using?

Can you show what you've set so far for wpa_supplicant.conf (minus
your password of course..)

Regards,

Τη Δευτέρα, 9 Ιουλίου 2012 11:42:35 π.μ. UTC-4, ο χρήστης RobertCNelson έγραψε:

Hi everyone,

I have just installed ubuntu on my beagleboard (after getting really upset
from Angstrom) and I cannot manage to have internet connection at all!
I need wireless connection, so first I configured the wpa_supplicant.conf
according to the tutorial here
http://antipastohw.pbworks.com/w/page/27990127/Wi-Fi%20Setup%20Using%20Belkin%20F5D7050%20USB
. It doesn’t work.

Then I tried the simple approach, listed on BeagleBoardUbuntu - eLinux.org for
the wireless connectivity, but this fails too.

I cannot even get connected through ethernet (which I don’t want).

The error I’m getting is:
ioctl[SIOCDIWENCODEEXT]: Invalid argument
ioctl[SIOCDIWENCODEEXT]: Invalid argument
Failed to bring up wlan0

So which usb wifi device are you using?

Can you show what you’ve set so far for wpa_supplicant.conf (minus
your password of course…)

Regards,


Robert Nelson
http://www.rcn-ee.com/

My WiFi adapter is the Ralink.
My wpa_supplicant.conf looks like this:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant

network={
ssid=“mySSID”
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
psk=“myPwd”
pairwise=TKIP
group=TKIP

}

and I also changed the /etc/network/interfaces file to look like this:

iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa-driver wext
pre-up killall -q wpa_supplicant ; sleep 1 ; killall -q wpa_supplicant ; wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant

(that’s the wiki guide from here: Antipasto Hardware Wiki [licensed for non-commercial use only] / Wi-Fi Setup Using Belkin F5D7050 USB )

If I follow the guide from here: BeagleBoardUbuntu - eLinux.org

I still have the same problems…

Thanks!

My WiFi adapter is the Ralink.

Well, they only make about 20 different chipsets... So what usb/wifi
adatper do you actually have... "lsusb" would help out..

My wpa_supplicant.conf looks like this:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="mySSID"
        scan_ssid=0
        proto=WPA
        key_mgmt=WPA-PSK
        psk="myPwd"
        pairwise=TKIP
        group=TKIP

}

and I also changed the /etc/network/interfaces file to look like this:

iface wlan0 inet dhcp
     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
     wpa-driver wext
     pre-up killall -q wpa_supplicant ; sleep 1 ; killall -q wpa_supplicant
; wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
     post-down killall -q wpa_supplicant

seems a little over kill... any change with:

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

How about 3.4.x based kernel: (assuming precise-armhf, as you left
that info out..)

So with the Beagle connecting over ethernet..

wget http://rcn-ee.net/deb/precise-armhf/v3.4.4-x1/install-me.sh
/bin/bash install-me.sh

Regards,

Τη Δευτέρα, 9 Ιουλίου 2012 2:14:26 μ.μ. UTC-4, ο χρήστης RobertCNelson έγραψε:

My WiFi adapter is the Ralink.

Well, they only make about 20 different chipsets… So what usb/wifi
adatper do you actually have… “lsusb” would help out…

My wpa_supplicant.conf looks like this:

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant

network={
ssid=“mySSID”
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
psk=“myPwd”
pairwise=TKIP
group=TKIP

}

and I also changed the /etc/network/interfaces file to look like this:

iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa-driver wext
pre-up killall -q wpa_supplicant ; sleep 1 ; killall -q wpa_supplicant
; wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
post-down killall -q wpa_supplicant

seems a little over kill… any change with:

wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

How about 3.4.x based kernel: (assuming precise-armhf, as you left
that info out…)

So with the Beagle connecting over ethernet…

wget http://rcn-ee.net/deb/precise-armhf/v3.4.4-x1/install-me.sh
/bin/bash install-me.sh

Regards,


Robert Nelson
http://www.rcn-ee.com/

I am trying to rebuild the kernel again, because everything crashed before and nothing seemed to work!
Ethernet doesn’t work for me, I need WiFi accessibility…
Anyway, hopefully it won’t crash again, so I’ll give you the details about the adapter.

Thanks again!