frankprevi Posted July 21, 2004 Report Share Posted July 21, 2004 I spend some time to configure my Wireless Lan, and all seems to go well untill dhcp. If I manulaly start interface.. [root@localhost francy]# ifup wlan0 Determining IP information for wlan0... failed. [root@localhost francy]# /etc/dhcpc/dhcpcd.exe: line 27: .: filename argument required .: usage: . filename Then I get up properly wlan0 whit iwconfig and then.. [root@localhost wireless]# dhcpcd wlan0 /etc/dhcpc/dhcpcd.exe: line 27: .: filename argument required .: usage: . filename I tried again with dhcpcd... [root@localhost wireless]# dhcpcd wlan0 dhcpcd.exe: wrong interface name "wlan0" Although the new error message, now all is working. [root@localhost wireless]# ifconfig 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:62 errors:0 dropped:0 overruns:0 frame:0 TX packets:62 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3914 (3.8 Kb) TX bytes:3914 (3.8 Kb) wlan0 Link encap:Ethernet HWaddr 00:90:96:4A:CC:4B inet addr:192.168.1.3 Bcast:192.168.1.7 Mask:255.255.255.248 UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2627 (2.5 Kb) TX bytes:12585 (12.2 Kb) Sometime I tried ten or more time before to work well What can I do to solve this problem? Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 22, 2004 Report Share Posted July 22, 2004 can you post /etc/network-scripts/wlan0up ? (or similar, you obviously know enough to do that from your post :D) I also wonder if it just needs the wlan stuff setting before it tries to get the dhcp address ? What order are these in /etc/rc2.d ?? Quote Link to comment Share on other sites More sharing options...
frankprevi Posted July 22, 2004 Author Report Share Posted July 22, 2004 Thanks for answer, now I'm at work, I remember the scripts but to show the exact sequence I have to came back home. :D I'll post later Quote Link to comment Share on other sites More sharing options...
frankprevi Posted July 22, 2004 Author Report Share Posted July 22, 2004 This is my ifcfg-wlan0 script DEVICE=wlan0 BOOTPROTO=dhcp ONBOOT=no MII_NOT_SUPPORTED=yes WIRELESS_MODE=Managed WIRELESS_CHANNEL=6 WIRELESS_RATE=11M WIRELESS_ENC_KEY=a1a2-a3a4-a5 WIRELESS_RTS=2347 WIRELESS_FRAG=2346 WIRELESS_ESSID=SANTIS50-3E6D0D Obviusly 'ONBOOT=no' is for debug only; this is my own script for manualy up the interface iwconfig wlan0 essid SANTIS50-3E6D0D channel 6 rate 11M rts 2347 mode Managed frag 2346 key a1a2-a3a4-a5 #ifconfig wlan0 192.168.1.2 up netmask 255.255.255.248 ifconfig wlan0 up and this is /etc/rc2.d K09dm K50xinetd K95harddrake S12syslog S20xfs S99devfsd K15numlock K60atd S05lm_sensors S17alsa S75keytable S99local K20partmon K75netfs S10network S18sound S90crond K44rawdevices K89portmap S11internet S20random S95kheader This evening i tried to start dhcpcd before ifconfig and it worked at the third attempt I really don't know where Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.