Re: Installation problem which now is network problem

1997-03-02 Thread John T. Larkin
> Unfortunately it's not up and running to that extent I would like to. I have
> no contact at all with the network and with the Internet in particular. I
> think I have to make some changes in the network configuration. The question
> is: How do I reconfigure the network when I've already installed Linux. I
> don't want to reinstall it for a small matter like this.

Hopefully, you answered "yes" when asked by the installation script if you're
directly connected to the network.  If so, edit the file "/etc/init.d/network"
and put in the proper values.  Check your IP address, make sure it's yours.
The "NETMASK" value depends on your network. For a class C network, it is
255.255.255.0, the "NETWORK" address just replaces the 4th (and last) field of
your IP address with a "0". "BROADCAST" again depends on the kind of network
you have.  Usually replace the last field of your IP address with 255 for
a class C network.  Your gateway is dependent on your network.  Usually
replace the last field of your IP with "1" (mine is weird -- it's 200. Again,
dependent on your local net).

If you need more info, feel free to email me off the list.  For instance, if
you don't have a /etc/init.d/networks file.
-- 
- John Larkin   
- [EMAIL PROTECTED]
- http://aij.st.hmc.edu/~jlarkin


Re: Installation problem which now is network problem

1997-03-01 Thread trio
On Sat, 1 Mar 1997, Daniel Karlsson wrote:
>...
> boot manager, Linux is now up and running.
> 
> Unfortunately it's not up and running to that extent I would like to. I have
> no contact at all with the network and with the Internet in particular. I
> think I have to make some changes in the network configuration. The question
> is: How do I reconfigure the network when I've already installed Linux. I
> don't want to reinstall it for a small matter like this.

   I don't know if you're having the exact same problem as i had, but
here's what happened to me: I just recently did an ftp install of debian. 
Everything was fine, but my network didn't start. If you've done the
configuration correctly, you should be able to do this: 

# ifconfig
loLink encap:Local Loopback
  inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
  UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
  RX packets:1410 errors:0 dropped:0 overruns:0
  TX packets:1410 errors:0 dropped:0 overruns:0

eth0  Link encap:10Mbps Ethernet  HWaddr 00:20:AF:51:6E:10
  inet addr:x.x.x.x  Bcast:x.x.x.255  Mask:255.255.255.0
  UP BROADCAST RUNNING  MTU:1500  Metric:1
  RX packets:2349 errors:0 dropped:0 overruns:0
  TX packets:1838 errors:0 dropped:0 overruns:0
  Interrupt:5 Base address:0x200
 
If you don't see the eth0, then you have to do something like 

ifconfig eth0 your.ip.numbers.here

or something. Read the man page.

   If your eth0 is showing correctly then you have to look at:

# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt 
Iface
localnet*   255.255.255.0   U  1500 0  0 eth0
127.0.0.0   *   255.0.0.0   U  3584 0  0 lo
default x.x.x.x 0.0.0.0 UG 1500 0  0 eth0

If you don't have a route out to the 'net through some default gateway,
then you need to add a route. See the route man pages (which i have to
say, are not very clear). 

   If that's okay, then you have to see if there's a /etc/init.d/network
file. Mine looks like: 

# more /etc/init.d/network
#!  /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=x.x.x.x
NETMASK=255.255.255.0
NETWORK=x.x.x.0
BROADCAST=x.x.x.255
GATEWAY=x.x.x.x
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK}
route add default gw ${GATEWAY} metric 1

You can see that it does the ifconfig and route commands for you. This was
created in the configuration correctly. If you run this network file after
bootup and you connect to the 'net properly, then you're exactly at the
same place i was. 

   Here's where the default installation failed for me: the network file
was executed and worked, but then the kerneld removed the network after
all the startup stuff was done! I don't know why it did that. I do know
that people on this list helped me to find the answer: i created a link to
the network file called /etc/rc2.d/S98network. That was it. Now the system
boots, starts the network, kerneld shuts it down and S98 restarts it and
it stays. 

   I hope this was useful in some way. Maybe some part of it will tell you
the answer to what your problem is. If not, maybe i'll learn from you when
the solution is finally posted to this list. 

   Good luck.

...
universero trio... [EMAIL PROTECTED] http://tio.net/~trio
Learn and use The International Language Esperanto!


Installation problem which now is network problem

1997-02-28 Thread Daniel Karlsson
Hi

I've had a problem with my installation. The installation program couldn't
seek on my hard disk. After I started a shell, repartitioned and ditched
boot manager, Linux is now up and running.

Unfortunately it's not up and running to that extent I would like to. I have
no contact at all with the network and with the Internet in particular. I
think I have to make some changes in the network configuration. The question
is: How do I reconfigure the network when I've already installed Linux. I
don't want to reinstall it for a small matter like this.

Thank you in advance
  _  __  __
|  _ \   | |/ / | E-post: [EMAIL PROTECTED]  |
| | | |  | ' /  | WWW   : http://www-und.ida.liu.se/~c95danka/ |
| | | |  |  <   | Tel   : 013 - 17 82 76   |
| |_| |  | . \  | Adress: Rydsvägen 246 C:21 584 34 LINKÖPING  |
|/ aniel |_|\_\ arlsson |__|