Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install Avaya Wireless?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Sun Jun 22, 2003 1:43 pm    Post subject: How to install Avaya Wireless? Reply with quote

Hey all,

I got an Avaya Wireless PC-card for my laptop. I just don't know how to get it to work. I searched the forums but didn't found anything that was noobish enough for my wlan linux experience.

I have started pcmcia. I get a high tone followed by a low tone. I've read somewhere I would need something called orinico_cs.

How do I proceed from now on? :oops:
Back to top
View user's profile Send private message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Sun Jun 22, 2003 4:30 pm    Post subject: Reply with quote

have a look at this https://forums.gentoo.org/viewtopic.php?t=26716&highlight=wireless and if it doesnt work, then post again and we will try it with linux-wlan-ng
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Mon Jun 23, 2003 8:38 pm    Post subject: Hey Reply with quote

Hey,
thanks for your attention.

I already found that thread. I got to starting the pcmcia service, and then I'm stuck.

It's a Wireless card I have, not an ordinary NIC.
I don't know what modules to load or what to put in modules.autoload or in conf.d/net.
I know all my hardware is ok. It works in windows and in knoppix, where it just autodetects my Avaya card and start the required services/modules.
Back to top
View user's profile Send private message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Mon Jun 23, 2003 10:30 pm    Post subject: Reply with quote

ok, then use wlan-ng. i will say it in a few words because i have a date very soon :D


ok, first xour kernel: remove any pcmcia support. add wireless lan support (into the kernel, no M) but no other things like drivers or something.
compile
add cardbus and pcmcia to your use flags
emerge pcmcia-cs
emerge linux-wlan-ng
then do a rc-update add pcmcia default
edit your /etc/conf.d/wlan.conf according to your needs (your ssid)
create a wlancfg-X file according to your ssid. the default file is wlancfg-DEFAULT. for example if your ssid is "wireless" then you do cp wlancfg-DEFAULT wlancfg-wireless. then edit the now created ssid wlancfg-X. after that, define the wlan0 device in the net file /etc/init.d/net.
ah yes, maybe you have to do a cp net.eth0 net.wlan0. i dont remember but you will get an error message about that if it would be necessary.
after a reboot the card should work.

edit
btw, if it won't work, try to set up the wlan0 device as the default gw or try to do a dhcpcd wlan0. the smoothest way if you want your wlan automatically to work if you have no ethernet cable plugged in is to bridge both of the devices. then the normal ethernet connection and the wlan connection behave as one and have only one ip and it is unimport which one you use at the moment because all programs which try to access the internet will check the lan and the wlan device to get a connection and you doesnt have to change the default gateway device each time you want either to use the lan or the wlan connection

good luck!
edit

greetz,
hulk


Last edited by hulk2nd on Tue Jul 01, 2003 12:13 pm; edited 4 times in total
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Wed Jun 25, 2003 6:09 pm    Post subject: Reply with quote

Thanks. I really appreciate your help.
My girlfriend borrowed my laptop. I will get it back in a day or 2. I will report back then. :D
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Thu Jun 26, 2003 6:21 pm    Post subject: Reply with quote

Ok, I did what you said.
I can't start the wlan card. I get this.
Code:

# /etc/init.d/net.wlan0 start
 * Bringing wlan0 up...
SIOCSIFADDR: No such device
wlan0: unknown interface: No such device
SIOCSIFBRDADDR: No such device
wlan0: unknown interface: No such device
SIOCSIFNETMASK: No such device
 * Failed to bring wlan0 up                                               [ !! ]

Pcmcia is started and beeps two light tones. Doesn't that mean the wlan card is loaded ok?
Do you know what might be wrong?
Back to top
View user's profile Send private message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Thu Jun 26, 2003 11:42 pm    Post subject: Reply with quote

try to post the cardmanager lines from the bootup sequence
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Thu Jul 31, 2003 9:30 pm    Post subject: Reply with quote

Hey Hulk,

Sorry for posting so late. I went on vacation, I should have said, but before I knew it, I was in a little village without computers in south France. If you don't wanna answer, I'll understand.

Anyway, the cardmanager lines, do you mean this?
Code:
# /etc/init.d/pcmcia start
 * Starting pcmcia...
cardmgr[6641]: watching 1 sockets
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Fri Aug 01, 2003 4:12 pm    Post subject: Reply with quote

When you put the card in , do you get any beeps? Check dmesg to see if the card was detected when inserted.
Back to top
View user's profile Send private message
Dracnor
Guru
Guru


Joined: 08 Jun 2003
Posts: 397
Location: Pennsylvania

PostPosted: Fri Aug 01, 2003 5:05 pm    Post subject: Reply with quote

Are you trying to install Gentoo, or do you already have it installed?

The way I got my Avaya card to work was to get rid of CardBus Support [ ] in the kernel and don't load any modules/compile in anything from the Wireless LAN section either. After I rebooted with the new kernel I
Code:
emerge pcmcia-cs
and then
Code:
emerge wireless-tools
(emerge -f pcmcia-cs and wireless-tools if you won't have a connection before you reboot). The idea here is to just let pcmcia-cs (card services) do all the work for you. It loads the modules (so I don't have to put anything in modules.autoload). Make sure that you set /etc/pcmcia/wireless.opts to your specifications as well (network name, encryption, etc). Also, make sure that it is getting an IP address as well.
Code:
ifconfig
Set the interface for DHCP or a static. Try doing a cardctl reset (or cardctl eject and then a cardctl insert). You should be able to take a look at
Code:
iwconfig
to see if there are any wireless interfaces available. If not, take a look at dmesg for any output on as to why it's not showing up.

bdp
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Wed Aug 06, 2003 6:27 pm    Post subject: Reply with quote

Allright, I did quite some testing, still to no awail. But it's getting closer.

I booted knoppix up and got this during boot
Code:
 PCMCIA found, starting cardmgr.
cardmgr[71]: starting, version is 3.2.2
cardmgr[71]: executing: 'modprobe hermes'
cardmgr[71]: executing: 'modprobe orinoco'
cardmgr[71]: executing: 'modprobe orinoco_cs'
cardmgr[71]: executing: './network start eth0'
cardmgr[71]: + Sample private network setup
cardmgr[71]: + /sbin/ifconfig eth0 up
cardmgr[71]: + /sbin/pump -i eth0 > /dev/null

Thereafter ifconfig gave
Code:
$ ifconfig
eth1      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2064 (2.0 KiB)  TX bytes:1026 (1.0 KiB)
          Interrupt:11 Base address:0xc000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:300 (300.0 b)  TX bytes:

That's great, my avaya is broadcasting to find a connection.
Now iwconfig says
Code:
$ iwconfig
lo        no wireless extensions.

Warning: Driver for device eth0 has been compiled with version 15
of Wireless Extension, while this program is using version 16.
Some things may be broken...

eth0      IEEE 802.11-DS  ESSID:""  Nickname:"HERMES I"
          Mode:Managed  Frequency:2.457GHz  Access Point: 44:44:44:44:44:44
          Bit Rate:11Mb/s   Tx-Power=15 dBm   Sensitivity:1/242700000
          Retry limit:4   RTS thr:off   Fragment thr:off
          Power Management:off

eth1      no wireless extensions.

I suppose this is allright too.
But now on to gentoo, the matter is a whole other. :cry:

I've got this emerged
Code:
# emerge pcmcia-cs wireless-tools -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] sys-apps/pcmcia-cs-3.2.4  -trusted -build -apm -pnp -nocardbus
[ebuild   R  ] net-wireless/wireless-tools-25-r1

My net file is as follows. I've decided to name the wireless card eth1 as knoppix also named it ethX and not wlanX
Code:
# grep -v ^# /etc/conf.d/net
iface_eth0="10.0.13.100 broadcast 10.0.255.255 netmask 255.255.0.0"
iface_eth1="dhcp"
gateway="eth0/10.0.0.1"

As knoppix does it, I try to load the hermes, orinoco and orinoco_cs modules, I just don't have any of them. :?:
Code:
# /etc/init.d/pcmcia start

 * Starting pcmcia...
cardmgr[7669]: watching 1 sockets                                         [ ok ]

gives two light beeps, the last a bit higher than the first.
Then of course, I get this
Code:
# /etc/init.d/net.eth1 start
 * Could not get dependency info for "net.eth1"!
 * Could not get dependency info for "net.eth1"!
 * Bringing eth1 up...
 * Failed to bring eth1 up                                                [ !! ]

This problem is killing me. :cry:
I'll sure be glad when I'll get it solved.
I suspect my my /etc/conf.d/net to be wrong. Maybe someone knows what I have done wrong?
Back to top
View user's profile Send private message
Dracnor
Guru
Guru


Joined: 08 Jun 2003
Posts: 397
Location: Pennsylvania

PostPosted: Thu Aug 07, 2003 7:30 pm    Post subject: Reply with quote

I would take a look at /etc/pcmcia/wireless.opts

Also how is your kernel configured? Do you have CardBus disabled? How about the settings under wireless (non-Ham Radio)?

Also try giving it a static address in /etc/conf.d/net

Keep in mind that you need to re-emerge pcmcia-cs every time after you've compiled the kernel.

What is the output of dmesg? Post that up here (relevant parts)...it may help too.

bdp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum