OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Ubuntu => Topic started by: whykickamoocow on March 25, 2009, 05:04:19 pm

Title: Zubuntu Wifi/internet
Post by: whykickamoocow on March 25, 2009, 05:04:19 pm
Can anybody tell me how they are connecting to the internet with zubuntu, Ive got the linksys wcf11 compact flash card but im having no luck at the moment. Any other ideas i would be interested in.

Regards

Whykick
Title: Zubuntu Wifi/internet
Post by: Chero on March 26, 2009, 02:53:37 am
Quote from: whykickamoocow
Can anybody tell me how they are connecting to the internet with zubuntu, Ive got the linksys wcf11 compact flash card but im having no luck at the moment. Any other ideas i would be interested in.

Regards

Whykick
do a "dmesg" in a terminal right after inserting the card, then post the last 10 lines over here.
That might give us a clue about what's going on.

Are there any lights flashing on the card ?
Title: Zubuntu Wifi/internet
Post by: whykickamoocow on March 26, 2009, 05:47:31 pm
this is what comes up after i install the card and do a "dmesg".
The cards light flashing all the time and its WEP im tring to connect to with a encrytion key, so im not sure what im doing wrong, Is there a good program i can install on the zubuntu to get connected with or can i run a command through the shell to connect to my router.

hostap_cs: Registered netdevice wifi0
pcmcia: request for exclusive IRQ could not be fullfilled.
pcmcia: the driver needs updating to supported shared IRQ lines.
hostap_cs: index 0x01: , irq 169, io 0xc4840000-0xc484003f
prism2_hw_init: initialized in 210 ms
wifi0: NIC: id=0x800c v1.0.0
wifi0: PRI: id=0x15 v1.0.7
wifi0: STA: id=0x1f v1.3.5
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
wifi0: registered netdevice wlan0

Regards

whykick
Title: Zubuntu Wifi/internet
Post by: Chero on March 27, 2009, 03:53:40 am
The card is recognised and the interface "wlan0" is created.

Now you need to configure "wlan0"
For this you can edit your "/etc/network/interfaces" file. More help on what to put in there can be found on the ubuntu forums.

You can also configure it manually by using "iwconfig" (use "iwconfig --help" to check the options), but you'd have to do this each time you want to use it.
If you have an open system (no security at all) using dhcp and you know the name (essid) of the access point, you could simply go for :
setup the cards wireless options :
"iwconfig wlan0 essid <name goes here> mode managed"
followed by
"ifup wlan0"

Tip :
What is your system on NAND ? I'm using Angstrom there. I simply set up my wifi using the gui when running Angstrom and then copied over /etc/network/interfaces to my zubuntu card.
Now all I have to do is "ifup wlan0" and I'm connected.

Chero.
Title: Zubuntu Wifi/internet
Post by: whykickamoocow on March 30, 2009, 05:19:17 pm
thanks for that chero, im using the trisoft one, When i type "ifup wlan0" this is the the error message that i am getting, "ignoring unknown interface wlan0=wlan0"

Any body got any ideas with this one,or is there an easy way to connect zubuntu to the internet?????

Regards

WHykick
Title: Zubuntu Wifi/internet
Post by: speculatrix on April 01, 2009, 06:59:46 pm
at command prompt, try this...

# cd /etc/network
# more interfaces


you should see something like this:
Code: [Select]
iface wlan0 inet dhcp
        wireless-essid          myessid
        wpa-driver              hostap
        wpa-ap-scan           2
        wpa-key-mgmt        WPA-PSK
        wpa-psk                 "some secret passphrase here"


if it were a WEP access point, instead
Code: [Select]
iface wlan0 inet dhcp
        wireless-mode           ad-hoc
        wireless-channel        1
        wireless-essid          SOME-AD-HOC-ESSID
        wireless-key            xxxxxxxxxxxxxxxxxxxxxxxxxxx



HTH
Paul
Title: Zubuntu Wifi/internet
Post by: EzerchE on July 02, 2009, 05:19:50 pm
Quote from: speculatrix
at command prompt, try this...

# cd /etc/network
# more interfaces


you should see something like this:
Code: [Select]
iface wlan0 inet dhcp
        wireless-essid          myessid
        wpa-driver              hostap
        wpa-ap-scan           2
        wpa-key-mgmt        WPA-PSK
        wpa-psk                 "some secret passphrase here"


if it were a WEP access point, instead
Code: [Select]
iface wlan0 inet dhcp
        wireless-mode           ad-hoc
        wireless-channel        1
        wireless-essid          SOME-AD-HOC-ESSID
        wireless-key            xxxxxxxxxxxxxxxxxxxxxxxxxxx



HTH
Paul

my interfaces file:

Code: [Select]
auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

pre-up /sbin/pccardctl resume 1
pre-up /bin/sleep 2
post-down /sbin/pccardctl suspend 1

allow-hotplug wlan0
iface wlan0 inet static
wpa-psk my_pass
wpa_ssid my_id
address 10.0.0.20
gateway 10.0.0.1
netmask 255.255.255.0

how should i reconfigure it for connection? my wifi card wifi0 too
Title: Zubuntu Wifi/internet
Post by: zbeckerd on July 06, 2009, 03:26:50 pm
This is how I setup my prism chip cf card to work in zubuntu RC1 OmegaMoon 8.04

Zubnutu wifi

lsmod and see if pxa2xx_cs is loaded. this module controls the CF slot

if not loaded then modprobe pxa2xx_cs
then iwconfig should return wlan0, if nothing is returned, do a modprobe hostap_cs if module is not present in lsmod
Try running "dmesg | tail" to see if your CF is recognized now.

edit etc/modules and add to file

pxa2xx_cs
hostap_cs

create file in etc/modprobe.d/blacklist_hostap

 blacklist orinoco_plx
 blacklist orinoco_cs
 blacklist orinoco_pci
 blacklist hermes

remove /etc/udev/rules.d/70-persistent-net.rules

edit /etc/network/interfaces

allow-hotplug wlan0
iface wlan0 inet static
wireless_essid xxxxxxxxxx
wireless_mode managed
wireless_key s:xxxxxxxxxx
address xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
netmask 255.255.255.0

if you are using static ips, then you will need to edit /etc/resolv.conf
and add your dns server addresses in this format:
nameserver 208.67.222.222
nameserver 208.67.220.220

ensure dhcp is running properly by changing the 102 and 103 entries for dhcp in /etc/passwd to 0

reboot

open terminal
ifup wlan0

This is what I came up with by reading every post.  Once working I did a fresh install and this worked for me. YMMV