On Sat, 24 Jun 2000, Jake Brooks wrote:

> I have a box that has linus debian 2.2 installed (or maybe partially 
> installed) that I would like to use on a network.  I am able to boot to a 
> text based screen and have assigned a root password as well as an additional 
> user account.  Having read about dbootstrap and X windows, I would like to 
> be able to modify the network settings, but cannot find a command that lets 
> me.  I have tried linuxconf and netcfg, and have looked at the /etc and 
> /sbin directories.  According to "Running Linux" the configuration files 
> should be in /etc/init.d/network, but I initially had no such directory, 
> then created one and added settings.
> 
> HOSTNAME='hostname'
> /sbin/ifconfig lo 127.0.0.1
> /sbin/route add 127.0.0.1
> 
> IPADDR="207.234.111.66"
> NETMASK=255.255.255.224
> NETWORK="207.234.111.0"
> BROADCAST="207.234.111.255"
> GATEWAY="207.234.111.65"
> 
> I can ping to 127.0.0.1 and to 207.234.111.66, but not to 207.234.111.65.  I 
> can ping to the gateway (207.234.111.65) from a windows machine using DOS, 
> and have been assured by my ISP that the addresses are valid.  I have 
> received several very helpful tips so far, but have not been able to get 
> past the gateway.  Any help will be appreciated.  Thanks.
> Jake Brooks
> 
Jake,
        If the directory didn't exhist, then that is not the way Debian
does things.  Untill a Debian user gives you the correct way to set it
up, you can get your networking by running as root:

route add -net 207.234.111.0 netmask 255.255.255.224 dev eth0
route add default gw 207.234.111.65

This will let you access your network.  (I am assuming your netmask is
correct - 224 looks a bit strange, may be correct.)

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to