Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Configuring networking in single user mode?

617 views
Skip to first unread message

bozothedeathmachine

unread,
Nov 6, 2006, 3:18:27 PM11/6/06
to
Hi all. I'm trying to do a ufsrestore from a remote tape drive. I need
to be able to mount said tape drive, so I need to get networking up and
running. I am able to configure the network interface on a 192.168.0.x
segment. However, I can't configure the default route.

# route add default 192.168.0.1
add net default: gateway 192.168.0.1: Network is unreachable


Is there a way to configure networking after I boot of a CD into single
user mode?

Thanks.
Ben..

bozothedeathmachine

unread,
Nov 6, 2006, 4:18:55 PM11/6/06
to
Nevermind. I figured it out. I wasn't actually brining the network
interface up.

Now on to figuring out how to restore this thing...

Mr. G D Geen

unread,
Nov 6, 2006, 3:35:43 PM11/6/06
to

Before you can add the route you need to bring the interface up. If you
have not already done so, give the interface an address, netmask, etc.
Something like...

# ifconfig hme0 192.168.0.100 netmask 255.255.255.0
# ifconfig hme0 up

Then you should be able to add a default router.

Richard B. Gilbert

unread,
Nov 7, 2006, 8:13:43 AM11/7/06
to

Doesn't he need to "plumb" the interface first?

0 new messages