Hi!
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
On Tue, 2011-07-05 at 15:50 +0200, Thomas Schweikle wrote:
Hi!
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
Try "setup" or sudo "setup" and see if can do it through there.
Am 05.07.2011 15:56, schrieb Mike Chambers:
On Tue, 2011-07-05 at 15:50 +0200, Thomas Schweikle wrote:
Hi!
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
Try "setup" or sudo "setup" and see if can do it through there.
root@tola ~# setup -bash: setup: command not found
Am 05.07.2011 15:50, schrieb Thomas Schweikle:
Hi!
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/init.d/network start
On 07/05/2011 02:03 PM, Reindl Harald wrote: <>
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/init.d/network start
which would leave 'ifcfg-eth0' with only "IPV6_AUTOCONF=no".
should be;
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0
Am 05.07.2011 17:14, schrieb g:
On 07/05/2011 02:03 PM, Reindl Harald wrote: <>
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/init.d/network start
which would leave 'ifcfg-eth0' with only "IPV6_AUTOCONF=no".
should be;
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0
correct, sorry
Am 05.07.2011 16:03, schrieb Reindl Harald:
Am 05.07.2011 15:50, schrieb Thomas Schweikle:
Hi!
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/init.d/network start
vi was available tought. But: tried it. Doesn't work. I have now: DEVICE="p3p1" TYPE=Ethernet BOOTPROTO=dhcp HWADDR="" ONBOOT="yes" USERCTL="no" NM_CONTROLLED="no"
After booting: root@tola ~# ifconfig lo Link encap:Local loopback ...
No interface p3p1.
I tried with "HWADDR" set to the devices HWAddr as with the whole thing removed. No success. Network does only come up after login and typing "ifup p3p1".
Am 05.07.2011 17:28, schrieb Thomas Schweikle:
vi was available tought. But: tried it. Doesn't work. I have now: DEVICE="p3p1" TYPE=Ethernet BOOTPROTO=dhcp HWADDR="" ONBOOT="yes" USERCTL="no" NM_CONTROLLED="no"
After booting: root@tola ~# ifconfig lo Link encap:Local loopback ...
No interface p3p1.
I tried with "HWADDR" set to the devices HWAddr as with the whole thing removed. No success. Network does only come up after login and typing "ifup p3p1"
you did "chkconfig network on"?
why reboot? "service network stop" and "service network start" exists
Am 05.07.2011 17:31, schrieb Reindl Harald:
Am 05.07.2011 17:28, schrieb Thomas Schweikle:
vi was available tought. But: tried it. Doesn't work. I have now: DEVICE="p3p1" TYPE=Ethernet BOOTPROTO=dhcp HWADDR="" ONBOOT="yes" USERCTL="no" NM_CONTROLLED="no"
After booting: root@tola ~# ifconfig lo Link encap:Local loopback ...
No interface p3p1.
I tried with "HWADDR" set to the devices HWAddr as with the whole thing removed. No success. Network does only come up after login and typing "ifup p3p1"
you did "chkconfig network on"?
Yes I did, but I didn't verify it doing its job as expected. After doing it a second time it did what it was expected to do: network is now up and running! Thanks for all your help!
I'm digging into this issue with having to do it two times to have it work once later on --- there are further issues I have to solve after upgrading from F14 to F15 ...
why reboot? "service network stop" and "service network start" exists
Faster: typing "reboot" including reboot: 2s typing "service network stop; service network start" takes longer: 10s ;-)
Maybe this turns around if all running like it was running before the upgrade!
On Tue, 2011-07-05 at 18:06 +0200, Thomas Schweikle wrote:
why reboot? "service network stop" and "service network start" exists
Faster: typing "reboot" including reboot: 2s typing "service network stop; service network start" takes longer: 10s ;-)
Oh come on! Your system reboots and goes into your user environment instantly (or at least in under 8 seconds)?
Also, all you actually type is:
service network stop <NL> ^P DEL DEL art <NL>
:-)
poc
Am 05.07.2011 18:06, schrieb Thomas Schweikle:
you did "chkconfig network on"?
Yes I did, but I didn't verify it doing its job as expected
thats why not reboot for such things
why reboot? "service network stop" and "service network start" exists
Faster:
Not really
typing "reboot" including reboot: 2s
only in a RAM disk :-)
typing "service network stop; service network start" takes longer: 10s ;-)
ser<TAB> net<TAB> res<TAB>
typing "service network restart; ping mygateway" is hughe faster and if something is not correct you save the useless reboot-time and login, but anyways if you love booting machines do so :-)
On 07/05/2011 08:31 AM, Reindl Harald wrote:
why reboot? "service network stop" and "service network start" exists
Quite possibly habit, based on experience with Windows. Until (I think) XP, Windows only read its configuration data at boot, meaning that you had to restart to make almost any change take effect.
Am 05.07.2011 22:10, schrieb Joe Zeff:
On 07/05/2011 08:31 AM, Reindl Harald wrote:
why reboot? "service network stop" and "service network start" exists
Quite possibly habit, based on experience with Windows. Until (I think) XP, Windows only read its configuration data at boot, meaning that you had to restart to make almost any change take effect
windows itself does know nothing and suggests permanently reboots for every piece of action, it dos so for network changes too but they are active instantly without reboot
the only reason reboot a linux os is updating kernel and since systemd after playing with service-files to see if all directories which are used available while booting *grr*
Regards to all the Fedora users I want to improve many of my rpm packages that I want to maintain (some new packages and some old ones), so I want to follow the last revision of the RPM Packaging Guide.
Where I can find these resources?
Thanks for your time
On Tue, Jul 5, 2011 at 10:03 AM, Reindl Harald h.reindl@thelounge.net wrote:
Am 05.07.2011 15:50, schrieb Thomas Schweikle:
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/init.d/network start
In your cut/paste, you forgot to change ">" to ">>". :)
Why not use "cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<EOF" or vi?
On Tue, Jul 5, 2011 at 10:03 AM, Reindl Harald h.reindl@thelounge.net wrote:
Am 05.07.2011 15:50, schrieb Thomas Schweikle:
Since I could not find a working Howto for Fedora 15:
How do I install networking without having gui or tui tools available? Even without having the ability to use them (if they where installed)?
I could not find any description not using gui setup tools ... :-(
echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/init.d/network start
You also need "chkconfig network on".