Please support VectorLinux!

Author Topic: Autostart RC1 Wicad Manager?  (Read 2059 times)

adamlau

  • Member
  • *
  • Posts: 15
Autostart RC1 Wicad Manager?
« on: January 03, 2009, 03:51:47 pm »
I have to manually connect to my (single interface) network (router to ISP) upon every reboot. This does not seem right. Is there a:

Code: [Select]
ifup eth0
equivalent command I must add to rc.local in order to start the network upon login? Is there a more elegant solution?
« Last Edit: January 03, 2009, 09:31:47 pm by adamlau »

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: Autostart RC1 Wicad Manager?
« Reply #1 on: January 03, 2009, 05:06:47 pm »
You can add the commands to /etc/rc.d/rc.local for example

ifconfig wlan0 up
dhcpcd wlan0

That is pretty much all you should need. You can also edit /etc/rc.d/rc.wireless.conf for the
wireless info and inet1.conf to add the card and the dhcpcd if needed.

You may also need wpa-supplicant for WPA settings there should be an example in
there. You can also call wpa_gui for a gui setup.

Bigpaws

caitlyn

  • Packager
  • Vectorian
  • ****
  • Posts: 2876
    • The Linux Works
Re: Autostart RC1 Wicad Manager?
« Reply #2 on: January 03, 2009, 06:03:44 pm »
Yes, there is a more elegant solution.  Go into the Control Center (vasmCC).  Select Service, select Services, choose your default runlevel (4 for most users) and check the box next to wicd:wicd daemon.  wicd will automagically start and your network will come up on the next boot.  If your network is wireless you'll also have to check the box that says "Automatically connect to this network" directly below the listing for your essid.

That's it!
eMachines EL-1300G desktop, 1.6GHz AMD Athlon 2650e CPU, 4GB RAM, nVidia GeForce 6150 SE video
CentOS 6.5 (will try VL64-7.1 soon)

Toshiba Satellite A135-S4727,  Intel Pentium T2080 / 1.73 GHz, 2GB RAM, Intel GMA 950

HP Mini 110 netbook, 1.6GHz Intel Atom CPU, 2GB RAM, Intel 950 video, VL 7.1

adamlau

  • Member
  • *
  • Posts: 15
Re: Autostart RC1 Wicad Manager?
« Reply #3 on: January 04, 2009, 12:25:34 am »
No go. The wicd daemon option was always checked. ifconfig entries into rc.local are a no go as well. What is the command run when the user click 'Connect' in the Wicad Manager?
« Last Edit: January 04, 2009, 03:02:04 am by adamlau »

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: Autostart RC1 Wicad Manager?
« Reply #4 on: January 04, 2009, 07:50:01 am »
What commands do you use to connect?

No need for ip, essid or keys

Example:

ifconfig wlan0 up
ifconfig wlan0 essid xxxx
ifconfig wlan0 key xx:xx:xx:xx:xx
dhcpcd wlan0

Bigpaws