You are not logged in.

#1 2007-09-15 13:49:49

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

WiFi usb card - works in Ubuntu how to get it working in arch

Hello I have a Jensen Scandinavia 54mbs usb card. It worked flawlessly in Ubuntu without installing anything, I have read the wiki but I have no idea how i could get it running in arch with my IBM T21 laptop. Can someone please  help me? cheers

Offline

#2 2007-09-15 18:33:54

CocoAUS
Member
Registered: 2007-09-07
Posts: 60

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Google seems to think that ndiswrapper will work for your card.

The wiki is actually missing two pieces of information:

- To get the Windows driver (.inf file) for your card, get it off the CD that came with your device.  You should be able to view some folders on the CD and find an .inf file.
- You should also copy the .sys file corresponding to your .inf file into the same directory as the .inf file.

However, if Ubuntu got it automatically, it probably doesn't need ndiswrapper.  Do you have hal and dbus installed and running, and is your user allowed to use them?  See the Archwiki :: HAL article to see how to do that.  I imagine that loading the hal daemon for your user should let you simply plug in and go, but if not, try ndiswrapper.

Offline

#3 2007-09-15 22:03:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: WiFi usb card - works in Ubuntu how to get it working in arch

You need to identify the chipset used in the device - use the details provided by lsusb as your starting point. Once you've done that, look for the linux driver for that chipset. Arch has packages for all of them.

Offline

#4 2007-09-16 00:26:33

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

It says ZyDAS 802.11b/g USB2 WiFi

Offline

#5 2007-09-16 00:31:47

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Should be support in the kernel, what do I have to do :S

Offline

#6 2007-09-16 12:40:19

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Ok I have installed drivers, now and the connection is cladded eth1, I added eth1="dhcp" to rc.conf, but i get a timeout during bootup, what now ?

Offline

#7 2007-09-16 13:42:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: WiFi usb card - works in Ubuntu how to get it working in arch

As you already said, the driver is in the kernel, so I'm not sure what you installed. Did you get the firmware package? Check dmesg for related messages.

Offline

#8 2007-09-16 13:50:35

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

I installed a firmware package yes. 1211.zydas-firmware or sometihing.

dmesg:

zd1211rw 1-1:1.0: firmawe version 4605

zd1211rw 1-1:1.0: zd1211 chip 0ace:1211 v4802........

zd1211rw 1-1:1.0: eth1

Last edited by Tigertailz (2007-09-16 13:54:07)

Offline

#9 2007-09-17 16:43:19

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Im getting so desperate right now hmm

Ok it seems to work with these commands

ifconfig eth1 up
iwconfig eth1 essid blahblah

dhcpcd eth1

now where should I put them so it will autostart when I start the laptop up.

Last edited by Tigertailz (2007-09-17 16:53:31)

Offline

#10 2007-09-17 17:01:05

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Normally you put wireless specific config info in /etc/conf.d/wireless.  The rest of the config is in rc.conf, but...
...there are different ways you could do it: standard arch network scripts, network profiles, networkmanager, wicd, autowifi scripts and so on and so forth...
Wiki is _always_ a good starting point: http://wiki.archlinux.org/index.php/Wir … k_settings

Offline

#11 2007-09-17 17:19:43

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

But cant you help me with that, how should it look in my rc.conf and my conf.d/wireless file ?

Offline

#12 2007-09-17 17:46:15

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: WiFi usb card - works in Ubuntu how to get it working in arch

[sigh] wink

in rc.conf (just the relevant lines, leave everything else as is):

lo="lo 127.0.0.1"
eth1="dhcp"
INTERFACES=(lo eth1)
#
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)

in /etc/conf.d/wireless:

wlan_eth1="eth1 essid ***** key ****************"
WLAN_INTERFACES=(eth1)

or something like that...

You can restart network configuration with

/etc/rc.d/network restart

as root.  It should start automatically on computer boot as long as you have "network" in the daemons array in rc.conf.

BTW, reading wiki and trying to figure stuff out by yourself is good for you - you learn much more that way.  Arch Linux, IMO, is the kind of distro where lots of reading is required, and if you're not willing to go through the ordeal then you're likely to have problems with Arch and you're probably better off with a distro like Ubuntu.  There - my pedagogical instinct appeased wink

Offline

#13 2007-09-17 19:32:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Your answer is almost perfect, fwojciec, but I'd suggest a minor change in similar future circumstances: put the lecture at the top.

Given the OP's apparent aversion to reading, there's a very good chance he stopped when he got to

/etc/rc.d/network restart

tongue

Offline

#14 2007-09-17 19:57:53

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: WiFi usb card - works in Ubuntu how to get it working in arch

tomk wrote:

Your answer is almost perfect, fwojciec, but I'd suggest a minor change in similar future circumstances: put the lecture at the top.

Given the OP's apparent aversion to reading, there's a very good chance he stopped when he got to

/etc/rc.d/network restart

tongue

lol
I'll keep that in mind...

Offline

#15 2007-09-17 20:14:22

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Thank you very much and yeas I have learned alot on reading

I did exactly as you posted and it aint working -:/

Last edited by Tigertailz (2007-09-17 20:25:55)

Offline

#16 2007-09-17 22:45:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Please elaborate - "it aint working" is a bit vague.

Also, post /etc/rc.conf and /etc/conf.d/wireless as they are now.

Offline

#17 2007-09-18 13:53:28

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

What isnt working is that i get a time out on eth1 on boot, when I do iwconfig it says "acess point invalid"

My settings look like this

rc.conf

lo="lo 127.0.0.1"
eth0="dhcp"
eth1="dhcp"
INTERFACES=(lo eth0 eth1)
#
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

I also use ifplugd.

conf.d/wireless

wlan_eth1="essid krika"
WLAN_INTERFACES=(eth1)

Thank you guys for your support

Offline

#18 2007-09-18 14:19:36

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: WiFi usb card - works in Ubuntu how to get it working in arch

When you comment out "eth0="dhcp"" in rc.conf and delete "eth0" from "INTERFACES=(lo eth0 eth1)" so it reads "INTERFACES=(lo eth1)" you also get that message?  Basically at this moment the network scripts try to connect to both eth0 and eth1, so it could be that the eth0 connection is failing for some reason.  I'm assuming that your wireless network (krika) is completely open with no encryption, right?

Offline

#19 2007-09-18 15:40:37

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Yes its completley open,

No that doesnt work either unfortunatly hmm

Offline

#20 2007-09-18 15:51:11

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Oh I see the mistake now:

wlan_eth1="essid krika"

should be

wlan_eth1="eth1 essid krika"

Offline

#21 2007-09-18 15:59:51

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

its my misstake, i justed typed it wrong when i wrote it on the forum, its correct in my wireless config, so no luck there hmm

Offline

#22 2007-09-18 22:05:49

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: WiFi usb card - works in Ubuntu how to get it working in arch

OK I had just tried using my instructions on my system, that is I had commented out my current settings and copy and pasted the info from my post above and just changed the interface from eth1 to ath0 everywhere + entered the details of my wireless network (essid and key) and... it works perfectly.

So either you're doing something wrong, or there is something strange about your setup/configuration that makes it somehow different than mine and requires some non-standard configuration.  Maybe someone else has better ideas.  Good luck anyways.

Offline

#23 2007-09-18 23:07:57

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Tigertailz;

Perhaps in /etc/mkinitcpio.conf "hooks" you may need to add....usb and usbinput...

Just a thought...


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#24 2007-09-19 14:54:48

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: WiFi usb card - works in Ubuntu how to get it working in arch

Darn that didn't work either, bug in the zd1211 firmware?

Offline

Board footer

Powered by FluxBB