Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[pcmcia] eth1 ne fonctionne pas [resolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
donald7
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2007
Posts: 136

PostPosted: Sun Mar 25, 2007 4:57 pm    Post subject: [pcmcia] eth1 ne fonctionne pas [resolu] Reply with quote

bonjour

je suis très vexé :oops: de ne plus arriver à faire fonctionner ma connexion wifi depuis que j'ai entièrement réinstallé Gentoo (à la suite d'une bête suppression de répertoire dans /boot).

Pourtant j'y étais arrivé il y a trois jours.

Le pilote de la carte wifi utilise le module orinico qui se charge sans problème. J'ai installé wireless-tools, pcmcia-cs et pcmciautils et la commade iwconfig me renvoie bien eth1 mais ifconfig ne renvoie pas eth1

voila quelques infos de lspci, lsmod, ifconfig, iwconfig et /etc/conf.d/net

Code:


gentoo conf.d # lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
02:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 01)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
gentoo conf.d #


Code:

gentoo conf.d # lsmod
Module                  Size  Used by
ipv6                  170912  245
rtc                     7348  0
yenta_socket           17036  5
rsrc_nonstatic          7552  1 yenta_socket
orinoco_cs              9732  1
pcmcia                 21292  1 orinoco_cs
firmware_class          5120  1 pcmcia
orinoco                30356  1 orinoco_cs
hermes                  4992  2 orinoco_cs,orinoco
tg3                    88196  0
e1000                  90432  0
nfs                    85308  0
lockd                  41480  1 nfs
sunrpc                 99644  2 nfs,lockd
jfs                   143596  0
raid10                 16384  0
raid1                  15872  0
raid0                   6272  0
dm_mirror              13008  0
dm_mod                 32024  1 dm_mirror
sbp2                   15364  0
ohci1394               24880  0
ieee1394               53176  2 sbp2,ohci1394
sl811_hcd               8320  0
usbhid                 29792  0
ohci_hcd               13700  0
uhci_hcd               15240  0
usb_storage            57408  0
ehci_hcd               19848  0
usbcore                77828  7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
gentoo conf.d #               


Code:


gentoo conf.d # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:08:0D:08:30:33
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::208:dff:fe08:3033/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91933 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86852 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:81128502 (77.3 Mb)  TX bytes:18328690 (17.4 Mb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:74 errors:0 dropped:0 overruns:0 frame:0
          TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4944 (4.8 Kb)  TX bytes:4944 (4.8 Kb)



Code:

gentoo conf.d # iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

eth1      IEEE 802.11b  ESSID:""  Nickname:"HERMES I"
          Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated
          Bit Rate:11 Mb/s   Sensitivity:1/3
          Retry limit:4   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/92  Signal level=134/153  Noise level=134/153
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

gentoo conf.d #     


Code:

gentoo conf.d # more /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"
dhcpcd_eth0="-t 10"
config_eth1=( "dhcp" )
dhcp_eth1="nodns nontp nonis"
essid_eth1="Mon Reseau"
key_Romain_Rolland="xxxx-xxxx-xx"
dhcpcd_eth1="-t 10"
gentoo conf.d #   



merci

donald
_________________
Linux Counter #433775

Visitez et contribuez au site gnulinux.fr


Last edited by donald7 on Sun Mar 25, 2007 5:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Sun Mar 25, 2007 5:11 pm    Post subject: Re: [pcmcia] eth1 ne fonctionne pas Reply with quote

donald7 wrote:

j'ai entièrement réinstallé Gentoo (à la suite d'une bête suppression de répertoire dans /boot).

Rien, a priori, d'oblige la réinstallation complète si on a éffacé quelque chose dans /boot :|

D'après ta configuration tu utilises les 2 cartes réseaux en dhcp.

OK, que donne un :

Code:

/etc.init.d/net.eth0 stop
/etc/init.d/net.eth1 start


d'après ta config c'est soit l'une soit l'autre des 2 cartes réseaux (filaire et wifi). Donc là rien d'anormal. ifconfig ne montre pas eth1, si tu fais un ifconfig eth1 up ça devrait.
Là d'après ce que tu donnes, eth0 est démarré, pas eth1 et il est alors normal qu'eth1 n'apparaît pas dans ifconfig.
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
donald7
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2007
Posts: 136

PostPosted: Sun Mar 25, 2007 5:31 pm    Post subject: Re: [pcmcia] eth1 ne fonctionne pas Reply with quote

kwenspc wrote:

Rien, a priori, d'oblige la réinstallation complète si on a éffacé quelque chose dans /boot :|


c'est surement vrai mais pour un newbie, c'est parfois plus confortable, plutot que de demander de l'aide avec un autre ordinateur . :wink:


kwenspc wrote:

D'après ta configuration tu utilises les 2 cartes réseaux en dhcp.

OK, que donne un :

Code:

/etc.init.d/net.eth0 stop
/etc/init.d/net.eth1 start


d'après ta config c'est soit l'une soit l'autre des 2 cartes réseaux (filaire et wifi). Donc là rien d'anormal. ifconfig ne montre pas eth1, si tu fais un ifconfig eth1 up ça devrait.
Là d'après ce que tu donnes, eth0 est démarré, pas eth1 et il est alors normal qu'eth1 n'apparaît pas dans ifconfig.


eth0 est la filaire et eth1 est la connexion wifi

voila les sorties de console

Code:

gentoo conf.d # /etc/init.d/net.eth0 stop
 * Stopping eth0
 *   Bringing down eth0
 *     Stopping dhcpcd on eth0 ...                                        [ ok ]
 *     Shutting down eth0 ...                                             [ ok ]
gentoo conf.d # /etc/init.d/net.eth1 restart
-su: /etc/init.d/net.eth1: No such file or directory



je n'ai pas créé de script net.eth1 à l'installation mais je ne me souviens pas en avoir créé précédemment quand j'avais réussi à faire fonctionner ma connexion wifi
_________________
Linux Counter #433775

Visitez et contribuez au site gnulinux.fr
Back to top
View user's profile Send private message
donald7
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2007
Posts: 136

PostPosted: Sun Mar 25, 2007 5:52 pm    Post subject: Reply with quote

bon, j'ai compris. Je me suis replongé dans le handbook et j'ai fait ceci

Code:

# cd /etc/init.d
# ln -s net.eth0 net.eth1
# rc-update add net.eth1 default


ma connexion fonctionne maintenant :D

merci


donald
_________________
Linux Counter #433775

Visitez et contribuez au site gnulinux.fr
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Sun Mar 25, 2007 5:54 pm    Post subject: Reply with quote

fais juste alors:
Code:

cd /etc/init.d
ln -sf net.lo net.eth1


Et fais /etc/init.d/net.eth1 start
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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