Problems with wicd
I am using Linux Slackware 14.2. I have 2 locations:
1. Home - using cable connection, static IP: PC address: 192.168.1.4/24 Default gateway: 192.168.1.1 2. External location - wi-fi with DHCP. I installed wicd package, and it's working fine. Problem 1 After installing wicd at home when I unplug the cable, the IP address and the default gateway disappear. And don't reappear when I plug it back. So every time I have to switch to root and run these commands: # ifconfig eth0 192.168.1.4/24 # route add default gw 192.168.1.1 Sometimes /etc/resolv.conf is being cleared, so I have to manually write nameservers at home. How can I make it use my static address at home, so it won't destroy the configs? What about the name servers? I should rewrite them in external location and then back when I am at home. Problem 2 wicd-client is being launched automatically when I start KDE. How to make it run on demand? Even if close the laptop lid, the eth0 network connection is being destroyed. |
From the note on wicd that I keep:
To run wicd choose DHCP or anything else other than "NetworkManager" when configuring the network. # Install wicd from the extra directory # After installing this package, make sure the /etc/rc.d/rc.wicd script is executable; if necessary, do: chmod +x /etc/rc.d/rc.wicd Results have varied, but you will probably need/want to remove any references to interfaces from /etc/rc.d/rc.inet1.conf - in other words, make that file look as if netconfig has never been run. (I have found that in every case where I have used NetworkManager and then changed to wicd there was no need to make any changes to /etc/rc.d/rc.inet1.conf # Use the Window Manager settings to autostart "wicd-client" upon startup. # When you start X, you should see a wicd icon in the system tray; click on it to open the gui interface and configure as desired. Your user account will need to be a member of the 'netdev' group in order to use wicd. # Note that urwid will need to be installed if you want to use the curses client. Also, if you don't have kde installed, you won't have a graphical sudo client available. |
Now the situation is better. But still 2 problems exist:
1. When I close the laptop lid and reopen it, eth0 connection disappears. And every time I have to run: # ifconfig eth0 192.168.1.4/24 # route add default gw 192.168.1.1 2. I removed wicd-client link from /usr/share/autostart, but it still autostarts together with computer. |
Your desktop session is probably what's bringing wicd back up.
|
wicd runs on boot up
use DHCP on our home net work configure eth0 to use DHCP in wicd or configure eth0 in wicd (highlight eth0 hit the right arrow in wicd-curses) you will need to check the always show wired connection box in wicd preferences ("P" in wicd-curses) |
Quote:
|
Quote:
Settings / Session and Startup |
Quote:
|
Quote:
|
Plasma5 - Settings / System Settings / Startup and Shutdown / Desktop Session / Desktop Session and Logout
KDE - System Settings / System Administration / Startup And Shutdown / Session Management |
Most likely you're referring to KDE's Network Management icon, which is not part of wicd or Network Manager (but I believe it can work with both). The way to disable it is not very easy to find. You have to right click on the System Tray (not on any of the icons within the system tray as you'll get a context menu for that application) where you get the System Tray Settings option. Open that and you can uncheck "Network Management", which is under "Extra Items" on the "Display" tab/group/whatever (should be the default when the window comes up).
This is thanks to phenixia2003 on this post. |
1 Attachment(s)
Quote:
Maybe I should setup it so that it will manage both eth0 and wlan0? Attachment 29481 |
You have to clear your saved sessions and don't save any new ones
|
Quote:
it's not being brought back up it was never shut down if the OP would just configure his eth0 connection in wicd his problem would solved this is linux not windoze there is no wizard to do this for hem HE must plug the numbers in to wicd himself the same numbers he is using in the ifconfig command lines man wicd-wired-settings.conf man wicd-manager-settings.conf may be OP will tack the word of the man pages it looks like my advice is being dismissed out of hand |
Quote:
this is exactly what you should do let wicd manage both eth0 and wlan0 |
All times are GMT -5. The time now is 02:20 AM. |