public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Wireless problem (ipw2200)
@ 2006-09-10  8:29 Marco Calviani
  2006-09-10  9:47 ` Jean Magnan de Bornier
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Calviani @ 2006-09-10  8:29 UTC (permalink / raw
  To: gentoo-user

Hi,
  i'm having problems with my since now working wireless. I'm running
on a 2.6.17-gentoo-r4 kernel with ipw2200-1.1.2-r1 and wpa_supplicant.
In particular when i start the net.eth1 service, it tells me:

Starting eth1
 *   Starting wpa_supplicant on eth1 ...
                      [ ok ]
 *   Starting wpa_cli on eth1 ...
                      [ ok ]
 *     Backgrounding ...

the association with the wifi router went well but the dhcpcd client
is not getting any ip.

Is there something strange or known to the community?

regards,
Marco
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Wireless problem (ipw2200)
  2006-09-10  8:29 [gentoo-user] Wireless problem (ipw2200) Marco Calviani
@ 2006-09-10  9:47 ` Jean Magnan de Bornier
  2006-09-10 10:23   ` Marco Calviani
  0 siblings, 1 reply; 6+ messages in thread
From: Jean Magnan de Bornier @ 2006-09-10  9:47 UTC (permalink / raw
  To: gentoo-user

Le 10 septembre à 10:29:46 "Marco Calviani" <marco.calviani@gmail.com> écrit notamment:

| Hi,
|  i'm having problems with my since now working wireless. I'm running
| on a 2.6.17-gentoo-r4 kernel with ipw2200-1.1.2-r1 and wpa_supplicant.
| In particular when i start the net.eth1 service, it tells me:
>
| Starting eth1
| *   Starting wpa_supplicant on eth1 ...
|                      [ ok ]
| *   Starting wpa_cli on eth1 ...
|                      [ ok ]
| *     Backgrounding ...
>
| the association with the wifi router went well but the dhcpcd client
| is not getting any ip.
>
| Is there something strange or known to the community?
>

A/ What is the content of your wpa_supplicant.conf? (please don't show
your psk if any)
B/ What is the output of dhcpcd -v LOG_INFO eht1? (or LOG_DEBUG)

cheers,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Wireless problem (ipw2200)
  2006-09-10  9:47 ` Jean Magnan de Bornier
@ 2006-09-10 10:23   ` Marco Calviani
  2006-09-10 19:12     ` Jean Magnan de Bornier
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Calviani @ 2006-09-10 10:23 UTC (permalink / raw
  To: gentoo-user

Hi Jean,

the result of
$ dhcpcd -v LOG_DEBUG -d 2 eth1
is
Error, dhcpStart: ioctl SIOCGIFHWADDR: No such device

even if iwconfig shows:

eth1      unassociated  ESSID:"home"
          Mode:Managed  Channel=0  Access Point: 00:2C:F9:08:3B:6D
          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:(mykey)   Security mode:restricted
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


and here's my wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1

ap_scan=1

fast_reauth=1

network={
        ssid="home"
        key_mgmt=NONE
        wep_key0=(mykey)
        wep_tx_keyidx=0
        priority=5
        auth_alg=SHARED
}


> A/ What is the content of your wpa_supplicant.conf? (please don't show
> your psk if any)
> B/ What is the output of dhcpcd -v LOG_INFO eht1? (or LOG_DEBUG)
>
> cheers,

Thanks in advance,
Marco
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Wireless problem (ipw2200)
  2006-09-10 10:23   ` Marco Calviani
@ 2006-09-10 19:12     ` Jean Magnan de Bornier
  2006-09-16  8:01       ` Marco Calviani
  0 siblings, 1 reply; 6+ messages in thread
From: Jean Magnan de Bornier @ 2006-09-10 19:12 UTC (permalink / raw
  To: gentoo-user

Le 10 septembre à 12:23:07 "Marco Calviani" <marco.calviani@gmail.com> écrit notamment:

| Hi Jean,
>
| the result of
| $ dhcpcd -v LOG_DEBUG -d 2 eth1
| is
| Error, dhcpStart: ioctl SIOCGIFHWADDR: No such device
>
| even if iwconfig shows:
>
| eth1      unassociated  ESSID:"home"
|          Mode:Managed  Channel=0  Access Point: 00:2C:F9:08:3B:6D
|          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0
|          Retry limit:7   RTS thr:off   Fragment thr:off
|          Encryption key:(mykey)   Security mode:restricted
|          Power Management:off
|          Link Quality:0  Signal level:0  Noise level:0
|          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
|          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
>
| and here's my wpa_supplicant.conf
>
| ctrl_interface=/var/run/wpa_supplicant
| ctrl_interface_group=0
>
| eapol_version=1
>
| ap_scan=1
>
| fast_reauth=1
>
| network={
|        ssid="home"
|        key_mgmt=NONE
|        wep_key0=(mykey)
|        wep_tx_keyidx=0
|        priority=5
|        auth_alg=SHARED
| }

[...]

Hi Marco,
I hope someone will help you better, I just can say I solved my own wifi
problems with wpa_supplicant (wpa encryption) by commenting out one line
of the recommended config and trying, then commenting out another one,
retrying, and so on, until I had it working... 
good luck!
-- 
  Jean 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Wireless problem (ipw2200)
  2006-09-10 19:12     ` Jean Magnan de Bornier
@ 2006-09-16  8:01       ` Marco Calviani
  2006-09-17  7:25         ` Jean Magnan de Bornier
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Calviani @ 2006-09-16  8:01 UTC (permalink / raw
  To: gentoo-user

Hi Jean,
   unfortunately is it still not working even if i've tried changing
different lines.. (however this does not make very much sense). Can
you post me you /etc/conf.d/net and /etc/wpa_supplicant.conf files?

Thanks,
Marco

On 9/10/06, Jean Magnan de Bornier <jean@bornier.net> wrote:
> Le 10 septembre à 12:23:07 "Marco Calviani" <marco.calviani@gmail.com> écrit notamment:
>
> | Hi Jean,
> >
> | the result of
> | $ dhcpcd -v LOG_DEBUG -d 2 eth1
> | is
> | Error, dhcpStart: ioctl SIOCGIFHWADDR: No such device
> >
> | even if iwconfig shows:
> >
> | eth1      unassociated  ESSID:"home"
> |          Mode:Managed  Channel=0  Access Point: 00:2C:F9:08:3B:6D
> |          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0
> |          Retry limit:7   RTS thr:off   Fragment thr:off
> |          Encryption key:(mykey)   Security mode:restricted
> |          Power Management:off
> |          Link Quality:0  Signal level:0  Noise level:0
> |          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
> |          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> >
> >
> | and here's my wpa_supplicant.conf
> >
> | ctrl_interface=/var/run/wpa_supplicant
> | ctrl_interface_group=0
> >
> | eapol_version=1
> >
> | ap_scan=1
> >
> | fast_reauth=1
> >
> | network={
> |        ssid="home"
> |        key_mgmt=NONE
> |        wep_key0=(mykey)
> |        wep_tx_keyidx=0
> |        priority=5
> |        auth_alg=SHARED
> | }
>
> [...]
>
> Hi Marco,
> I hope someone will help you better, I just can say I solved my own wifi
> problems with wpa_supplicant (wpa encryption) by commenting out one line
> of the recommended config and trying, then commenting out another one,
> retrying, and so on, until I had it working...
> good luck!
> --
>   Jean
>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Wireless problem (ipw2200)
  2006-09-16  8:01       ` Marco Calviani
@ 2006-09-17  7:25         ` Jean Magnan de Bornier
  0 siblings, 0 replies; 6+ messages in thread
From: Jean Magnan de Bornier @ 2006-09-17  7:25 UTC (permalink / raw
  To: gentoo-user

Le 16 septembre à 10:01:38 "Marco Calviani" <marco.calviani@gmail.com> écrit notamment:

| Hi Jean,
|   unfortunately is it still not working even if i've tried changing
| different lines.. (however this does not make very much sense). Can
| you post me you /etc/conf.d/net and /etc/wpa_supplicant.conf files?
>
Sure, here they are; but you will see I'm using wpa, not wep; so you can't
really use my config :-(

/etc/conf.d/net:
....................................

config_eth0=( "194.199.136.151 netmask 255.255.255.0 brd 194.199.136.255" )

routes_eth0=(
	"default via 194.199.136.250"		# IPv4 default route
)

postup() {
/usr/sbin/netfac
} 
#this function is a script I wrote to activate eth1 only if eth0 is not plugged
plug_timeout="10"

modules=( "wpa_supplicant" )

wpa_supplicant_eth1="-Dwext" # For generic wireless

....................................
 
And here's the /etc/wpa_supplicant.conf:

....................................
ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

eapol_version=1

ap_scan=1

fast_reauth=1

#I had to emerge relevant packages for these two lines:

pkcs11_engine_path=/usr/lib/engines/engine_pkcs11.so

pkcs11_module_path=/usr/lib/opensc-pkcs11.so


network={
	ssid="ribalte"
	psk="xxxxxxxxxxxxxxxxx"
	priority=5
}


....................................


hth,
-- 
  Jean Magnan de Bornier             |        Cours Victor Hugo
  e-mots: jean at bornier.net        |        13980 Alleins   France
  T 08 70 39 34 03                   |        P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-17  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-10  8:29 [gentoo-user] Wireless problem (ipw2200) Marco Calviani
2006-09-10  9:47 ` Jean Magnan de Bornier
2006-09-10 10:23   ` Marco Calviani
2006-09-10 19:12     ` Jean Magnan de Bornier
2006-09-16  8:01       ` Marco Calviani
2006-09-17  7:25         ` Jean Magnan de Bornier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox