On Fri, 02 Jan 2009 09:09:29 -0800
Gerhard Magnus wrote:
> Is there an easy fix to this -- short of doing the installation over?
> Thanks for the help!
Assuming that your network card is eth0:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
vi /etc/sysconfig/network-scripts/route-eth0
Make the necessary corrections there and all should be well.
--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
01-02-2009, 04:22 PM
Gene Heskett
network problem
On Friday 02 January 2009, Gerhard Magnus wrote:
>I have a small home LAN that I am starting to upgrade from FC9 to FC10.
>As the network is still "hardwired" with ethernet cable and the boxes
>all have static IP addresses I would like to continue using the old
>network service rather than NetworkManager.
>
>After installing FC10 on one of the machines without problems, I stopped
>and disabled NetworkManager and configured the network using the widget
>System -> Administration -> Network from the gnome desktop and filling
>in the "DNS" and "Hosts" information as with FC9. But then I made a typo
>in editing device etho under the "Devices" tab -- I accidentally typed
>in the gateway address instead of 255.255.255.0 in the "Subnet mask"
>field. Now whenever I try correcting this from the "network" widget the
>field reverts back to what I mistakenly typed in before. This is
>apparently why I can't reach the network from this box.
>
>Is there an easy fix to this -- short of doing the installation over?
>Thanks for the help!
>
>Jerry
I think you need to be root to do that and make it stick.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Mal: "Just get us on the ground!"
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
01-02-2009, 04:25 PM
"Mikkel L. Ellertson"
network problem
Gerhard Magnus wrote:
> I have a small home LAN that I am starting to upgrade from FC9 to FC10.
> As the network is still "hardwired" with ethernet cable and the boxes
> all have static IP addresses I would like to continue using the old
> network service rather than NetworkManager.
>
> After installing FC10 on one of the machines without problems, I stopped
> and disabled NetworkManager and configured the network using the widget
> System -> Administration -> Network from the gnome desktop and filling
> in the "DNS" and "Hosts" information as with FC9. But then I made a typo
> in editing device etho under the "Devices" tab -- I accidentally typed
> in the gateway address instead of 255.255.255.0 in the "Subnet mask"
> field. Now whenever I try correcting this from the "network" widget the
> field reverts back to what I mistakenly typed in before. This is
> apparently why I can't reach the network from this box.
>
> Is there an easy fix to this -- short of doing the installation over?
> Thanks for the help!
>
> Jerry
>
I am old school when it comes to network configuration - I would
edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change the values
for NETMASK and GATEWAY there. Then run "service network restart" to
use the new values.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
05-07-2011, 03:06 PM
AG
Network problem
On 07/05/11 15:49, Camaleón wrote:
<snip>
(...)
Okay, let's forget momentary the "hosts" file and go on with the network
issue which I think is more important here.
So, I have just done the following:
(1) I altered the /etc/hosts IP address to *.64
(2) ensured that the /etc/network/interface file read "static" rather
than dhcp
(3) rebooted
(...)
Hi Camaleón
See below. Thanks.
Copy/paste what does your "/etc/network/interfaces" look like
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
#iface eth0 inet dhcp
address 192.168.1.40 # I have manually specified this
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 158.43.240.4
dns-search org
>> Copy/paste what does your "/etc/network/interfaces" look like
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> #iface eth0 inet dhcp
> address 192.168.1.40 # I have manually specified this
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> gateway 192.168.1.254
> # dns-* options are implemented by the resolvconf package, if
> installed dns-nameservers 158.43.240.4
> dns-search org
The above looks okay.
>> and also
>> post the results of "/sbin/ifconfig",
>
> $ /sbin/ifconfig
> eth0 Link encap:Ethernet HWaddr 00:90:47:05:a3:07
> inet addr:192.168.1.64 Bcast:192.168.1.255
> Mask:255.255.255.0 inet6 addr: fe80::290:47ff:fe05:a307/64
> Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1936 errors:0 dropped:0 overruns:0 frame:0 TX
> packets:1864 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:1018372 (994.5 KiB) TX bytes:237018 (231.4 KiB)
> Interrupt:18 Base address:0xec00
(...)
Here there's a problem. Your IP address does not match with the one you
defined in the "interfaces" file.
Let's see... on a running system, once you edit the "/etc/network/
interfaces" file you also have to:
1/ Restart the network service: /etc/init.d/networking restart
2/ Up the network interface: ifup eth0
3/ Check that all is fine: /sbin/ifconfig
(this is not needed after you restart the machine)
Try it and send the results. The rest of the files look normal so let's
focus on this.
Also, after running the above 3 commands, review the syslog ("grep -i
eth0 /var/log/syslog")
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.05.07.15.39.27@gmail.com">http://lists.debian.org/pan.2011.05.07.15.39.27@gmail.com
05-07-2011, 03:40 PM
Klistvud
Network problem
Dne, 07. 05. 2011 17:06:30 je AG napisal(a):
# dns-* options are implemented by the resolvconf package, if
installed
dns-nameservers 158.43.240.4
Can the above line from your /etc/network/interfaces be conflicting
with the:
nameserver 192.168.1.254
in your /etc/resolv.conf ?
Unfortunately, I'm not network-savvy enough to say anything about that.
Perhaps others can comment?
--
Cheerio,
Klistvud
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801 Please reply to the list, not to
me.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1304782842.28162.5@compax">http://lists.debian.org/1304782842.28162.5@compax
05-07-2011, 03:49 PM
AG
Network problem
On 07/05/11 16:39, Camaleón wrote:
On Sat, 07 May 2011 16:06:30 +0100, AG wrote:
On 07/05/11 15:49, Camaleón wrote:
(...)
Copy/paste what does your "/etc/network/interfaces" look like
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
#iface eth0 inet dhcp
address 192.168.1.40 # I have manually specified this
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
# dns-* options are implemented by the resolvconf package, if
installed dns-nameservers 158.43.240.4
dns-search org
Here there's a problem. Your IP address does not match with the one you
defined in the "interfaces" file.
Let's see... on a running system, once you edit the "/etc/network/
interfaces" file you also have to:
1/ Restart the network service: /etc/init.d/networking restart
2/ Up the network interface: ifup eth0
3/ Check that all is fine: /sbin/ifconfig
(this is not needed after you restart the machine)
Try it and send the results. The rest of the files look normal so let's
focus on this.
Here are the results of those three commands:
$ sudo /etc/init.d/networking restart
sudo: unable to resolve host valhalla
Running /etc/init.d/networking restart is deprecated because it may not
enable again some interfaces ... (warning).
Reconfiguring network interfaces...Stopping the Firestarter firewall....
Starting the Firestarter firewall....
done.
$ sudo ifup eth0
sudo: unable to resolve host valhalla
Stopping the Firestarter firewall....
Starting the Firestarter firewall....
Now is this likely to hold when I reboot so that I can access the Net?
Also, after running the above 3 commands, review the syslog ("grep -i
eth0 /var/log/syslog")
I did, and here is the output (I trimmed it to the last lines consistent
with the current time):
May 7 16:43:13 valhalla NetworkManager[1550]: <info> (eth0): carrier
now OFF (device state 1)
May 7 16:43:13 valhalla dhclient: receive_packet failed on eth0:
Network is down
May 7 16:43:29 valhalla NetworkManager[1550]: <info> (eth0): carrier
now ON (device state 1)
May 7 16:43:29 valhalla kernel: [ 5878.118829] eth0: link up, 100Mbps,
full-duplex, lpa 0x41E1
May 7 16:43:40 valhalla kernel: [ 5888.800028] eth0: no IPv6 routers
present
Thanks (as always!)
AG
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Let's see... on a running system, once you edit the "/etc/network/
>> interfaces" file you also have to:
>>
>> 1/ Restart the network service: /etc/init.d/networking restart
>> 2/ Up the network interface: ifup eth0
>> 3/ Check that all is fine: /sbin/ifconfig
>>
>> (this is not needed after you restart the machine)
>>
>> Try it and send the results. The rest of the files look normal so let's
>> focus on this.
>
> Here are the results of those three commands:
>
> $ sudo /etc/init.d/networking restart
> sudo: unable to resolve host
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(...)
Once you resolve the networking problem, you should look from where is
coming that "sudo" error... Is it happening for any "sudo" command you
type? :-?
> The IP address is now consistent.
>
> Now is this likely to hold when I reboot so that I can access the Net?
(...)
Sure, and if not something is very badly broken. Restart the machine to
be sure and if the IP address changes again, review your syslog.
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.05.07.16.26.39@gmail.com">http://lists.debian.org/pan.2011.05.07.16.26.39@gmail.com
05-07-2011, 04:42 PM
Brian
Network problem
On Sat 07 May 2011 at 17:40:42 +0200, Klistvud wrote:
> Dne, 07. 05. 2011 17:06:30 je AG napisal(a):
>
>> # dns-* options are implemented by the resolvconf package, if
>> installed
>> dns-nameservers 158.43.240.4
>
> Can the above line from your /etc/network/interfaces be conflicting with
> the:
>
>> nameserver 192.168.1.254
>
> in your /etc/resolv.conf ?
>
> Unfortunately, I'm not network-savvy enough to say anything about that.
> Perhaps others can comment?
There will be no conflict because the dns-nameservers and dns-search
lines are only acted on (the entries are put into /etc/resolv.conf) if
the resolvconf package is installed, which I do not think it is.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110507164246.GX13057@desktop">http://lists.debian.org/20110507164246.GX13057@desktop
05-07-2011, 04:44 PM
Brian
Network problem
On Sat 07 May 2011 at 16:06:30 +0100, AG wrote:
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> #iface eth0 inet dhcp
> address 192.168.1.40 # I have manually specified this
> netmask 255.255.255.0
Something and nothing. From interfaces(5)
> Lines starting with `#' are ignored. Note that end-of-line comments are
> NOT supported, comments must be on a line of their own.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110507164452.GY13057@desktop">http://lists.debian.org/20110507164452.GY13057@desktop