Advertisement
krax

nptd problem with runlevel and wlan0

Jul 16th, 2011
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. I had to address the problem here because the length of it.
  2. at the installation process at the end it says to do this:
  3.  
  4. Automatically Start Networking at Boot
  5.  
  6. To have your network interfaces activated at boot, you need to add them to the default runlevel.
  7.  
  8. Code Listing 2.8: Adding net.eth0 to the default runlevel
  9.  
  10. # rc-update add net.eth0 default
  11.  
  12. If you have several network interfaces, you need to create the appropriate net.eth1, net.eth2 etc. initscripts for those. You can use ln to do this:
  13.  
  14. Code Listing 2.9: Creating extra initscripts
  15.  
  16. # cd /etc/init.d
  17. # ln -s net.lo net.eth1
  18. # rc-update add net.eth1 default
  19.  
  20. I have eth0 the wired one and wlan0 as the wirelesss one and I did the instruction also for wlan0 because it said do it for all of you network device.
  21.  
  22. but know every time at the boot sequence i get this red lines
  23.  
  24. * Bringing up interface wlan0
  25. * Starting wpa_supplicant on wlan0 ...
  26. * /etc/wpa_supplicant/wpa_supplicant.conf not found [ !! ]
  27.  
  28. So i ignore it but this time when iamben tell me to update my time setting with
  29. /etc/init.d/ntp-client start
  30. * Bringing up interface wlan0
  31. * Starting wpa_supplicant on wlan0 ...
  32. * /etc/wpa_supplicant/wpa_supplicant.conf not found [ !! ]
  33. * ERROR: net.wlan0 failed to start
  34. * ERROR: cannot start ntp-client as net.wlan0 would not start
  35.  
  36. the above happens and I could neither fix my wireless nor the matter of ntp to start using eth0 or ppp0(dsl connection) for that matter.
  37. i am more comfortable that ntp don't start connecting DSL connection by itself and do the update when eth0 has Internet connection
  38.  
  39. and the other matter remains to how could I make wlan0 running.
  40. my kernel is config and compiled respectively.
  41.  
  42. look at the evidence above and tell me what is wrong????????????????
  43.  
  44.  
  45.  
  46.  
  47.  
  48. THE SOLUTION:
  49. <iamben> Crking: if you use NM, dont use net.* scripts
  50. Crking> iamben, So delete the wlan0 from run-level altogether; then nptd listen to NM
  51.  
  52.  
  53. localhost ~ # rc-update del net.wlan0 default
  54. * service net.wlan0 removed from runlevel default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement