Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
orinoco no essid configured
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
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Wed Sep 10, 2003 5:48 pm    Post subject: orinoco no essid configured Reply with quote

I am running gentoo-sources-2.4.20-r6 and pcmcia-cs-3.2.4. I the orinoco card is found and configured with an IP however none of the pcmcia stuff is called to configure the orinoco with the proper essid etc.

root@go2:~# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:02:2D:0B:93:4D
inet addr:10.0.1.18 Bcast:10.0.1.255 Mask:255.255.255.0

root@go2:~# iwconfig eth1
eth1 IEEE 802.11-DS ESSID:"" Nickname:"HERMES I"
Mode:Managed Frequency:2.457GHz Access Point: 44:44:44:44:44:44
Bit Rate:2Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry limit:4 RTS thr:off Fragment thr:off
Encryption key:off

root@go2:~# lsmod
Module Size Used by Not tainted
orinoco_cs 4756 1
orinoco 38348 0 [orinoco_cs]
hermes 6468 0 [orinoco_cs orinoco]
ds 7432 2 [orinoco_cs]


As you can see the pcmcia stuff was not called to configure the card.

I can't seem to figure the problem. The builtin orinoco card in my laptop worked fine.

What is causing the pcmcia stuff not to be called? I know it must be one of the configuration scripts but which?

Thanks for help,


Gene Imes
Back to top
View user's profile Send private message
deuce
n00b
n00b


Joined: 11 Dec 2002
Posts: 56

PostPosted: Wed Sep 10, 2003 11:37 pm    Post subject: Reply with quote

I'm a little confused. Are you saying the pcmcia stuff didn't configure the card, but it was configured by something else automatically? Or are you saying you manually configured the stuff because pcmcia didn't do it?

The first place to start is, did you start /etc/init.d/pcmcia on boot?
Back to top
View user's profile Send private message
ScubaStreb
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 118

PostPosted: Thu Sep 11, 2003 3:57 am    Post subject: Reply with quote

I'm a bit confused too. Do you mean, how do you configure your essid? If so, it's your /etc/pcmcia/wireless.conf file.
_________________
"Without question, the greatest invention in the history of mankind is beer. Oh, I grant you that the wheel was also a fine invention, but the wheel does not go nearly as well with pizza." --Dave Barry
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Fri Sep 12, 2003 1:39 am    Post subject: Reply with quote

deuce wrote:
I'm a little confused. Are you saying the pcmcia stuff didn't configure the card, but it was configured by something else automatically? Or are you saying you manually configured the stuff because pcmcia didn't do it?

The first place to start is, did you start /etc/init.d/pcmcia on boot?


Yes, pcmcia is started at boot. /etc/init.d/net.eth1 is not installed on any runlevel. I start it by typing /etc/init.d/net.eth1 start. The card is reconized and IP address assined. However the pcmcia stuff should call the wireless stuff and configure essid and key. However this does not happen.

pcmcia is in the boot runlevel.

root@go2:/etc/runlevels# ls boot
bootmisc checkroot consolefont keymaps modules pcmcia serial
checkfs clock hostname localmount net.lo rmnologin urandom

The card is configured appropriately with IP and broadcast and netmask.

root@go2:/etc/runlevels# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:02:2D:0B:93:4D
inet addr:10.0.1.18 Bcast:10.0.1.255 Mask:255.255.255.0

However the card is not configured with the appropriate essid and key.

root@go2:/etc/runlevels# iwconfig eth1
eth1 IEEE 802.11-DS ESSID:"" Nickname:"HERMES I"
Mode:Managed Frequency:2.457GHz Access Point: 44:44:44:44:44:44
Bit Rate:2Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry limit:4 RTS thr:off Fragment thr:off
Encryption key:off

As you can see the 'ESSID' is "" and the 'Encryption key' is 'off'.

/etc/pcmcia/wireless.opts is the same as my laptop which is on the same network and my laptop works quite well.

eth1 is a pcmcia card:

root@go2:/etc/runlevels# dmesg |grep eth1
eth1: Station identity 001f:0001:0006:0006
eth1: Looks like a Lucent/Agere firmware version 6.06
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:02:2D:0B:93:4D
eth1: Station name "HERMES I"
eth1: ready
eth1: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f

All of the appropriate modules are loaded:

root@go2:/etc/runlevels# lsmod
Module Size Used by Not tainted
ide-cs 4420 1
radeon 102824 1
orinoco_cs 4756 1
orinoco 38348 0 [orinoco_cs]
hermes 6468 0 [orinoco_cs orinoco]
ds 7432 2 [ide-cs orinoco_cs]
i82365 41408 2
pcmcia_core 44288 0 [ide-cs orinoco_cs ds i82365]

'/etc/init.d/net.eth1 start' uses the /etc/conf.d/net properly and configures the correct IPs. However the pcmcia scripts in /etc/pcmcia are not called to configure essid and key. Hence the card will not connect to the network. The problem is that the pcmcia scripts are not called to configure the essid and key so that the card will be reconized by the gateway.

I realize that this is an obscure problem. However, I hope someone has had the same problem found a solution or that someone has some insight into the problem from which I can benefit.

I know that these procedures work on my laptop which is configured similarly.

I hope this clarifies my situation. As always any help is appreciated.

Thanks,

Gene Imes
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Fri Sep 12, 2003 1:44 am    Post subject: Reply with quote

ScubaStreb wrote:
I'm a bit confused too. Do you mean, how do you configure your essid? If so, it's your /etc/pcmcia/wireless.conf file.


ScubaTreb please see my reply to deuce and perhaps it wil clarify my situation.

Thanks,

Gene Imes
Back to top
View user's profile Send private message
Lycander
Guru
Guru


Joined: 10 Apr 2003
Posts: 468

PostPosted: Fri Sep 12, 2003 2:41 am    Post subject: Reply with quote

I didn't realize there were pcmcia stuff to configure essid for you. This is how I setup my wireless connection on my Apple iBook with Airport:

edit /etc/ini.d/net.eth1 like so:
Code:

ebegin "Bringing ${IFACE} up"

# call iwconfig  at this point:
                                                                                                               
/usr/sbin/iwconfig eth1 essid "Home" enc <hex code> mode Managed rate auto

# the lines below call dhcpcd

My understanding is that iwconfig alone can't configure essid and the WEP encryption for you, you have to pass that info to iwconfig. Adding the above call to iwconfig inside your net.eth1 script will take care of it for you so you don't have to do it every time.
_________________
* Blessing /dev/hda2 with holy penguin pee
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Fri Sep 12, 2003 2:14 pm    Post subject: Reply with quote

Lycander wrote:
I didn't realize there were pcmcia stuff to configure essid for you. This is how I setup my wireless connection on my Apple iBook with Airport:

edit /etc/ini.d/net.eth1 like so:
Code:

ebegin "Bringing ${IFACE} up"

# call iwconfig  at this point:
                                                                                                               
/usr/sbin/iwconfig eth1 essid "Home" enc <hex code> mode Managed rate auto

# the lines below call dhcpcd

My understanding is that iwconfig alone can't configure essid and the WEP encryption for you, you have to pass that info to iwconfig. Adding the above call to iwconfig inside your net.eth1 script will take care of it for you so you don't have to do it every time.


Yes, but you see the pcmcia scritps are supposed to configure this without my intervention of any sort except the setup the file /etc/pcmcia/wireless.opts. On my laptop this is how it is done and it works fine. I am not setting anything manually except the start net.eth1

In the /etc/init.d/net.eth1 there is a section:

depend() {
use pcmcia
echo '/etc/init.d/net.eth1'
}

which should call the pcmcia scripts.

In /etc/pcmcia there is a file 'wireless.opts' which look something like this:

case "$ADDRESS" in
# Generic example (decribe all possible settings)
*,*,*,*)
INFO="Fill with your own settings..."
# ESSID (extended network name) : My Network, any
ESSID="012345"
# NWID/Domain (cell identifier) : 89AB, 100, off
NWID=""
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE=""
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
FREQ=""
CHANNEL=""
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
SENS=""
# Bit rate : auto, 1M, 11M
RATE=""
# Encryption key : 4567-89AB-CD, s:password
KEY="s:12345"
# RTS threshold : off, 500
RTS=""
# Fragmentation threshold : off, 1000
FRAG=""
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG=""
# iwspy parameters : + 01:23:45:67:89:AB
IWSPY=""
# iwpriv parameters : set_port 2, set_histo 50 60
IWPRIV=""
;;
esac

As you can see the essid and key are set and the orinoco card should be set from this file. This is how it works on my laptop which works.

However the pcmcia scripts are not being to called to setup the wireless card.

I suspect, however, that you method works just fine but you have to edit /etc/init.d/net.eth1 everytime 'update world' happens.

I can see I am having a time illustrating what is going on. I hope this clarifies my situation more.

Thanks,

Gene Imes
Back to top
View user's profile Send private message
Lycander
Guru
Guru


Joined: 10 Apr 2003
Posts: 468

PostPosted: Fri Sep 12, 2003 4:17 pm    Post subject: Reply with quote

imesg wrote:
I suspect, however, that you method works just fine but you have to edit /etc/init.d/net.eth1 everytime 'update world' happens.

Nope.
_________________
* Blessing /dev/hda2 with holy penguin pee
Back to top
View user's profile Send private message
deuce
n00b
n00b


Joined: 11 Dec 2002
Posts: 56

PostPosted: Fri Sep 12, 2003 6:46 pm    Post subject: Reply with quote

Are you using hotplug?

Does syslog have any relevant messages?

Is /etc/pcmcia/wireless executable?

Which drivers are you using? Kernel or PCMCIA?
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