Hi All,
Can anyone provide advice on how to bring up networking in Single User
Mode?
I need to specify an IP, mask, gateway and bring up the adaptor so I
can ssh into another machine to transfer files to it.
-ML
___
CentOS mailing list
ML wrote:
Hi All,
Can anyone provide advice on how to bring up networking in Single User
Mode?
I need to specify an IP, mask, gateway and bring up the adaptor so I
can ssh into another machine to transfer files to it.
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw
ML wrote:
Hi All,
Can anyone provide advice on how to bring up networking in Single User
Mode?
I need to specify an IP, mask, gateway and bring up the adaptor so I
can ssh into another machine to transfer files to it.
You could also probably do /etc/init.d/network start
my first post
Can anyone provide advice on how to bring up networking in Single User
Mode?
I need to specify an IP, mask, gateway and bring up the adaptor so I
can ssh into another machine to transfer files to it.
# service network start ?
___
CentOS
Nate,
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw IP_OF_GATEWAY
OK, so I was correct,
I am doing
ifconfig eth0 172.16.254.80 netmask 255.255.255.240
route add default gw 172.16.254.1
I am getting Network is unreachable.
-Jason
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
thus ML spake:
Nate,
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw IP_OF_GATEWAY
OK, so I was correct,
I am doing
ifconfig eth0 172.16.254.80 netmask 255.255.255.240
route add default gw 172.16.254.1
I am getting
Hi Timo,
Try 'ifconfig eth0 172.16.254.80 netmask 255.255.255.240 up' or, after
you already issued those commands, a simple 'ifconfig eth0 up'.
Yup did that
then: route ass default gw 172.16.254.1
I get: Network is unreachable
I can ping 172.16.254.1 from my Mac though.
-Jason
On Wed, Oct 7, 2009 at 3:28 PM, ML mailingli...@mailnewsrss.com wrote:
Nate,
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw IP_OF_GATEWAY
OK, so I was correct,
I am doing
ifconfig eth0 172.16.254.80 netmask 255.255.255.240
route add default gw 172.16.254.1
I am getting
Am Mittwoch, den 07.10.2009, 20:28 +0200 schrieb ML:
Nate,
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw IP_OF_GATEWAY
OK, so I was correct,
I am doing
ifconfig eth0 172.16.254.80 netmask 255.255.255.240
route add default gw 172.16.254.1
I am getting Network is
ifconfig eth0 172.16.254.80 netmask 255.255.255.240
route add default gw 172.16.254.1
I am getting Network is unreachable.
ipcalc -nbp 172.16.254.80 255.255.255.240
PREFIX=28
BROADCAST=172.16.254.95
NETWORK=172.16.254.80
so 172.16.254.1 is not in your network and thus not reachable
-BEGIN PGP SIGNED MESSAGE-
thus ML spake:
Nate,
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw IP_OF_GATEWAY
OK, so I was correct,
I am doing
ifconfig eth0 172.16.254.80 netmask 255.255.255.240
route add default gw 172.16.254.1
I am getting Network is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
172.16.254.1 is not in the same subnet as 172.16.254.80 when you use a
netmask of 255.255.255.240. You would need to use a larger netmask.
255.255.255.128 would be the smallest netmask you could use to enable
you to locally reach 172.16.254.1.
To: CentOS mailing list
ReplyTo: CentOS mailing list
Subject: Re: [CentOS] Bring up Networking in Single User Mode
Sent: Oct 7, 2009 1:35 PM
On Wed, Oct 7, 2009 at 3:28 PM, ML mailingli...@mailnewsrss.com wrote:
Nate,
ifconfig ethX IP_ADDRESS netmask NETMASK
route add default gw IP_OF_GATEWAY
OK, so
13 matches
Mail list logo