DHCP not running en Wifi (SuSE Linux)

Fermé
Ben - 25 févr. 2007 à 14:16
 jordan - 20 juin 2008 à 13:33
Bonjour,
La semaine dernière, j’ai configuré avec succès mon PC SuSE Linux 10.1 de manière à recevoir internet en wifi de ma livebox avec la clé Wifi USB de OVISLINK. J’ai installé ndiswrapper et j’ai configuré ESSID, Access Point, clé WEP, … J’avais internet sans problème.
Aujourd’hui, je n’ai plus internet sur ce seul poste sous Linux. Il reconnaît bien le dongle Wifi mais me met « DHCP not running » en réponse à la commande ifconfig.
Impossible de rétablir l’ESSID (maintenant any/off) ou quoique ce soit. Pourtant la configuration de la livebox m’indique bien le numéro MAC du dongle USB comme autorisé.
Quelqu’un pourrait-il m’aider à résoudre le problème ?
Merci
A voir également:

4 réponses

aruju Messages postés 2213 Date d'inscription dimanche 29 octobre 2006 Statut Contributeur Dernière intervention 15 novembre 2014 403
25 févr. 2007 à 16:18
salut,

que donne:
/sbin/dhclient
0
benwarakurna Messages postés 2 Date d'inscription dimanche 25 février 2007 Statut Membre Dernière intervention 25 février 2007
25 févr. 2007 à 18:58
Voilà :

Internet Systems Cosortium DHCP Client v3.0.3
(...)
Listening on LPF /wlan0/xx:xx:xx:xx:xx:xx
Sending on LPF /wlan0/xx:xx:xx:xx:xx:xx
Can't bind to dhcp address : address already in use
Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin Software, which includes a bootp server.

Je ne trouve pas de fichier /etc/inetp.conf ...
0
aruju Messages postés 2213 Date d'inscription dimanche 29 octobre 2006 Statut Contributeur Dernière intervention 15 novembre 2014 403
25 févr. 2007 à 19:11
passe cette commande:
service network restart 


et ensuite affiche:
ifconfig
iwconfig
lspci
route -n
cat /etc/resolv.conf

et mets le resultat entre les balises CODE stp
0
benwarakurna Messages postés 2 Date d'inscription dimanche 25 février 2007 Statut Membre Dernière intervention 25 février 2007
25 févr. 2007 à 19:36
Voilà :
# ifconfig
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:59 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4364 (4.2 Kb)  TX bytes:4364 (4.2 Kb)

wlan0     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


# iwconfig
lo        no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any  Nickname:"linux"
          Mode:Auto  Frequency:2.412 GHz  Access Point: Not-Associated
          Bit Rate=11 Mb/s   Tx-Power:20 dBm   Sensitivity=-121 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx   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

sit0      no wireless extensions.


# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:05.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:05.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:05.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
00:07.0 Communication controller: Ambient Technologies Inc HaM controllerless modem (rev 02)
00:08.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)


# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo


# cat /etc/resolv.conf
search site

Si tu peux commenter, donner des pistes d'où pourrait provenir le problème, merci
0
aruju Messages postés 2213 Date d'inscription dimanche 29 octobre 2006 Statut Contributeur Dernière intervention 15 novembre 2014 403
25 févr. 2007 à 20:19
bon,
essaye:
ifdown eth0
ifdown wlan0
ifup wlan0

affiche aussi:
ndiswrapper -l

et
lsusb

0
aruju Messages postés 2213 Date d'inscription dimanche 29 octobre 2006 Statut Contributeur Dernière intervention 15 novembre 2014 403
25 févr. 2007 à 20:58
si ca ne marche toujours pas alors faudrais trouver qui occupe ton dhcp
Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin Software, which includes a bootp server.

afiche:
cat /var/run/dhclient.pid 

0
Salut,
J'ai besoin d'aide et j'aimerai bien savoir si vous voudrait bien
m'aider,je vient de passer à linux et je c'est pas comment installer mon pilote de ma clés wifi
sur le cd fourni avec,j'ai les driver suse on ma dit qu'il fallait l'installer en console pouvait vous m'expliquez la commande a faire svp merci
j'ai eu un notice avec mais c'est en anglais je comprend pas je la mais en dessus. merci
cordialement jordan




* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*

=======================================================================
ModelName:
===========
rt73


=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and later


=======================================================================
Description:
=============
This is a linux device driver for Ralink RT73 a/b/g WLAN Card.



=======================================================================
Contents:
=============
Makefile.4 : Makefile for kernel 2.4 series
Makefile.6 : Makefile for kernel 2.6 series
*.c : c files
*.h : header files



=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode
with open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.



=======================================================================
Build Instructions:
====================
For 2.4 series kernel:
a. $tar -xvzf RT73_Linux_STA_Drv_x.x.x.x.tar.gz
go to "./RT73_Linux_STA_Drv_x.x.x.x/Module" directory.

b. Use 'chmod' command to change access right of following script files :
'load', 'unload', 'Configure'

c. run 'cp Makefile.4 Makefile'

d. $make config # config build linux os version

e. $make all # compile driver source code

f. $cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware

g. $load # load/insmod module(rt73.o)

Note: Script functionality:
load load module to kernel
unload unload module from kernel
Configure retrieve linux version


For 2.6 series kernel:
a. go to 'STA/Module' directory.
run 'cp Makefile.6 Makefile'

b. $make all

c. cp rt73.bin /etc/Wireless/RT73STA/ # copy firmware


d. run '/sbin/insmod rt73.ko' (as root)
'/sbin/ifconfig rausb0 inet YOUR_IP up'


For big endian platform:




=======================================================================
CONFIGURATION:
====================
RT73 driver can be configured via following interfaces,
i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file

i) iwconfig comes with kernel.
ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
iii)copy configuration file "rt73sta.dat" to /etc/Wireless/RT73STA/rt73sta.dat.


Note:

Configuration File : rt73sta.dat
---------------------------------------
# Copy this file to /etc/Wireless/RT73STA/rt73sta.dat
# This file is a binary file and will be read on loading rt.o module.
#
# Use "vi -b rt73sta.dat" to modify settings according to your need.
#
# 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
# 2.) set Channel to "0" for auto-select on Infrastructure mode
# 3.) set SSID for connecting to your Accss-point.
# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"
# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
# for more information refer to the Readme file.
#
# The word of "Default" must not be removed
Default
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=AP350
NetworkType=Infra
Channel=0
AuthMode=OPEN
EncrypType=NONE
DefaultKeyID=1
Key1Type=0
Key1Str=0123456789
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WpaPsk=abcdefghijklmnopqrstuvwxyz
TxBurst=0
PktAggregate=0
TurboRate=0
WmmCapable=0
AckPolicy1=0
AckPolicy2=0
AckPolicy3=0
AckPolicy4=0
BGProtection=0
ShortSlot=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0

-----------------------------------------------
*NOTE:
WMM parameters
WmmCapable Set it as 1 to turn on WMM Qos support
AckPolicy1~4 Ack policy which support normal Ack or no Ack
(AC_BK, AC_BE, AC_VI, AC_VO)

All WMM parameters do not support iwpriv command but ¡¥WmmCapable¡¦¡¦,
please store all parameter to rt73sta.dat, and restart driver.

-----------------------------------------------
syntax is 'Param'='Value' and describes below.

1. CountryRegion=value
value
0: use 1 ~ 11 Channel
1: use 1 ~ 13 Channel
2: use 10, 11 Channel
3: use 10 ~ 13 Channel
4: use 14 Channel
5: use 1 ~ 14 Channel
6: use 3 ~ 9 Channel

2. CountryRegionForABand=value
value
0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel
1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel
2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel
3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel
4: use 149, 153, 157, 161, 165 Channel
5: use 149, 153, 157, 161 Channel
6: use 36, 40, 44, 48 Channel
7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel

3. SSID=value
value
0~z, 1~32 ascii characters.

4. WirelessMode=value
value
0: 11b/g mixed,
1: 11B only,
2: 11A only
3: 11a/b/g mixed
4: 11G only

5. TxRate=value
value
0: Auto //WirelessMode=0~4
1: 1 Mbps //WirelessMode=0 or 1 or 3
2: 2 Mbps //WirelessMode=0 or 1 or 3
3: 5.5 Mbps //WirelessMode=0 or 1 or 3
4: 11 Mbps //WirelessMode=0 or 1 or 3
5: 6 Mbps //WirelessMode=0 or 2 or 3 or 4
6: 9 Mbps //WirelessMode=0 or 2 or 3 or 4
7: 12 Mbps //WirelessMode=0 or 2 or 3 or 4
8: 18 Mbps //WirelessMode=0 or 2 or 3 or 4
9: 24 Mbps //WirelessMode=0 or 2 or 3 or 4
10: 36 Mbps //WirelessMode=0 or 2 or 3 or 4
11: 48 Mbps //WirelessMode=0 or 2 or 3 or 4
12: 54 Mbps //WirelessMode=0 or 2 or 3 or 4

6. Channel=value
value
1~14 depends on CountryRegion

7. BGProtection=value
value
0: Auto
1: Always on
2: Always off

8. TxPreamble=value
value
0: Preamble Long
1: Preamble Short
2: Auto

9. RTSThreshold=value
value
1~2347

10. FragThreshold=value
value
256~2346

11. TxBurst=value
value
0: Disable
1: Enable

12. NetworkType=value
value
Infra: infrastructure mode
Adhoc: adhoc mode

13. AdhocOfdm=value
value
0: Adhere WIFI spec, the Tx MAX rate will be 11Mbps in Adhoc mode
1: Violate WIFI spec, the Tx MAX rate will be 54Mbps in Adhoc mode(b/g mixed)
2: Violate WIFI spec, the Tx MAX rate will be 54Mbps in Adhoc mode(11g only)

14. AuthMode=value
value
OPEN For Open System
SHARED For Shared key System
WEPAUTO
WPAPSK
WPA2PSK
WPANONE For Adhoc Security System

15. EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK

16. DefaultKeyID=value
value
1~4

17. Key1=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd

18. Key2=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd

19. Key3=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd

20. Key4=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd

21. WPAPSK=value
value
8~63 ASCII or
64 HEX characters

22. PSMode=value
value
0: CAM Constantly Awake Mode
1: Max_PSP Max Power Savings
2: Fast_PSP Power Save Mode


/-------------------!Not support yet!-----------------------/
23. PktAggregate=value
value
0: Disable
1: Enable when the peer supports it

24. TurboRate=value
value
0: Disable
1: Enable 72/100 Mbps whenever applicable

25. WmmCapable=value
value
0: Disable WMM
1: Enable WMM

26. IEEE80211H=value
value
0: Disable
1: Enable Spectrum management
(This field can be enable only in A band)
/-------------------!Not support yet!-----------------------/


MORE INFORMATION
================================================================================

If you want for rt73 driver to auto-load at boot time:
A) choose rausb0 for first RT73 WLAN card, rausb1 for second RT73 WLAN card, etc.

create(edit) 'ifcfg-rausb0' file in /etc/sysconfig/network-scripts/,
edit( or add the line) in /etc/modules.conf:
alias rausb0 rt73

C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-rausb0
DEVICE='rausb0'
ONBOOT='yes'


NOTE:
if you use dhcp, add this line too .
BOOTPROTO='dhcp'

*D) To ease the Default Gateway setting,
add the line
GATEWAY=x.x.x.x
in /etc/sysconfig/network

merci beaucoup de m'expliquer
jordan
0