*** This bug is a duplicate of bug 67936 ***
https://bugs.launchpad.net/bugs/67936
Sebastien Bacher,
If I remember correctly, the proposed solution for this bug was to
upgrade to the next version of Ubuntu. After googling around, I found
a work-around for this problem. I have implemented the following, and
thought that others might benefit.
First, I gave my network interface, eth0, some logical names in my
/etc/network/interfaces file.
iface home inet dhcp
iface work inet dhcp
iface devrack inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
Next, I created different instances of my /etc/hosts files with
extensions for each location to correspond with the logical names in
the above mentioned interfaces file.
hosts.home
hosts.work
hosts.devrack
Then, I wrote a bash script named changeNetwork.sh that will accept a
command line parameter that corresponds to the logical interface
names. Based on what parameter is given on the command line, the
script forces an ifdown, copies the appropriate hosts file to
/etc/hosts and then does an ifup with the logical name in the
interfaces file
Command line
> ./changeNetwork.sh devrack
Commands run by bash script
>sudo ifdown --force eth0
>sudo cp /etc/hosts.devrack /etc/hosts
>sudo ifup eth0=devrack
This process works for me with no problems since I have to swap cables
routinely at work. Yes it requires typing on the command line, I have
found that this approach is much faster and not as buggy as the gui
option.
Mark
On 4/17/07, Sebastien Bacher <[EMAIL PROTECTED]> wrote:
> *** This bug is a duplicate of bug 67936 ***
> https://bugs.launchpad.net/bugs/67936
>
> Thanks for the bug report. This particular bug has already been
> reported, but feel free to report any other bugs you find.
>
> ** Changed in: gnome-system-tools (Ubuntu)
> Importance: Undecided => Medium
> Assignee: (unassigned) => Ubuntu Desktop Bugs
> Status: Unconfirmed => Rejected
>
> ** This bug has been marked a duplicate of bug 67936
> [network-admin] Crash when starting from menu.
>
> --
> Can't access networking (under system>admin>networking)
> https://bugs.launchpad.net/bugs/107111
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (via bug 67936).
>
--
Can't access networking (under system>admin>networking)
https://bugs.launchpad.net/bugs/107111
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs