I ran into a problem with avahi that appears to be relatively common. My version is that the wireless networking fails and Network Tools shows a network device called eth1:avahi which shows a few transmitted and received bytes (with errors) but no interface information. This device appears to have preempted the correct eth1 device. I killed this rogue device using
sudo avahi-autopid --kill eth1
then after a while wireless works again as the eth1 device shows a connection.
At the suggestion of omingo I have done a
sudo apt-get --purge install avahi-autoipd --reinstall
to make sure the latest version of avahi-autopid is in use.
Update: this doesn't seem to have helped. Another possible workaround seems to be to go to Wireless Connections Properties using the Network Settings tool and switch from DHCP to Zeroconf, click on OK, wait for the tool to finish resetting the connection, then go back into Properties and switch back to DHCP.
Update: this may actually be a problem with network-manager. I've made the fix to NetworkManager.conf for bug 40125. Did a suspend then restart and the wireless connection came up correctly which it has not done before.
Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts
Saturday, July 28, 2007
Thursday, July 26, 2007
HEAsoft built under Ubuntu
Successfully built the HEAsoft distribution on my new Dell with Ubuntu Feisty Fawn. I had to get a number of packages...
sudo apt-get install gfortran g++
sudo apt-get install libncurses5-dev
sudo apt-get install x-dev libx11-dev libxt-dev
Just to be on the safe side (and under bash) I did a
F77=gfortran
export F77
CC=gcc
export CC
CXX=g++
export CXX
Then the configure and build is
./configure > config.out 2>&1 &
make > build.log 2>&1 &
make install > install.log 2>&1 &
sudo apt-get install gfortran g++
sudo apt-get install libncurses5-dev
sudo apt-get install x-dev libx11-dev libxt-dev
Just to be on the safe side (and under bash) I did a
F77=gfortran
export F77
CC=gcc
export CC
CXX=g++
export CXX
Then the configure and build is
./configure > config.out 2>&1 &
make > build.log 2>&1 &
make install > install.log 2>&1 &
Wednesday, July 25, 2007
Cisco VPN client and Ubuntu Feisty Fawn
Working on setting up my new Dell laptop which came preinstalled with Ubuntu Feisty Fawn. A little work needed with the Cisco VPN client - the version downloaded from Goddard CNE needs patching for recent versions of Linux. Fortunately, there are really helpful instructions on using the VPN client available. Tricks I had to do were
sudo chmod 4111 /opt/cisco-vpnclient/bin/cvpnd
/etc/init.d/vpnclient_init restart
to get round the error messages
privsep: unable to drop privileges: group set failed.
The application was unable to communicate with the VPN sub-system.
then I got
Initializing the VPN connection.
Initiating TCP to 198.119.56.78, port 10005
Secure VPN Connection terminated locally by the Client
Reason: Failed to establish a VPN connection.
There are no new notification messages at this time.
This occurs if both the wireless and ethernet connections are enabled at the same time. I turned off the ethernet connection by going to Network Settings selecting Wired Connection then clicking on Properties followed by checking the Enable Roaming Mode box.
sudo chmod 4111 /opt/cisco-vpnclient/bin/cvpnd
/etc/init.d/vpnclient_init restart
to get round the error messages
privsep: unable to drop privileges: group set failed.
The application was unable to communicate with the VPN sub-system.
then I got
Initializing the VPN connection.
Initiating TCP to 198.119.56.78, port 10005
Secure VPN Connection terminated locally by the Client
Reason: Failed to establish a VPN connection.
There are no new notification messages at this time.
This occurs if both the wireless and ethernet connections are enabled at the same time. I turned off the ethernet connection by going to Network Settings selecting Wired Connection then clicking on Properties followed by checking the Enable Roaming Mode box.
Subscribe to:
Posts (Atom)