[olug] potato post-install question

Phil Brutsche pbrutsch at creighton.edu
Sat Aug 26 20:39:31 UTC 2000


A long time ago, in a galaxy far, far way, someone said...

> Phil Brutsche wrote:
> > A long time ago, in a galaxy far, far way, someone said...
> > 
> > What's the output of
> >  * ifconfig -a
> >  * route -n
> > 
> > and the contents of the file /etc/network/interfaces?
> 
> I'll join the list for a while.  Thanks Phil.  After running pmfirewall
> start & masqstart I was able to connect with ncftp to remote ftp servers
> but unable to ping.  So the ping is probably being caught by ipchains
> rules.
> 
> But still unable to browse the internet from my winbox through the
> linux firewall.  sit0 is not working yet.

The first step is to get the Windows machine to talk to the Linux machine 
(ping linux from windows, telnet into the linux box, etc).

In /etc/network/interfaces replace 'sit0' with 'eth0' (keeping backups, of
course) and reboot.

It's also likely that Linux has not been setup as a 'router'.

Can you browse the web via 'lynx' on the Linux box?

> route -n
> ----------------------
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 209.254.124.213 0.0.0.0         255.255.255.255 UH    0      0        0
> ppp0
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> sit0
> 0.0.0.0         209.254.124.213 0.0.0.0         UG    0      0        0
> ppp0
> 
> 
> 
> ifconfig -a
> ----------------------
> eth0      Link encap:Ethernet  HWaddr 00:A0:CC:29:7D:08  
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           Interrupt:11 Base address:0x6000 
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:119 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:119 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
> 
> ppp0      Link encap:Point-to-Point Protocol  
>           inet addr:209.252.177.88  P-t-P:209.254.124.213 
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:17 errors:2 dropped:0 overruns:0 frame:2
>           TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:10 
> 
> sit0      Link encap:IPv6-in-IPv4  
>           inet addr:192.168.1.1  Mask:255.255.255.0
>           inet6 addr: ::127.0.0.1/96 Scope:Unknown
>           inet6 addr: ::192.168.1.1/96 Scope:Compat
>           UP RUNNING NOARP  MTU:1480  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:152 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
> 
> 
> 	  
> /etc/network/interfaces
> ------------------------------
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> 
> # The loopback interface
> iface lo inet loopback
> 
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> iface sit0 inet static
> 	address 192.168.1.1
> 	netmask 255.255.255.0
> 	network 192.168.1.0
> 	broadcast 192.168.1.255

Ok basically sit0 == eth0 but has ipv6 capabilities

-- 
----------------------------------------------------------------------
Phil Brutsche					pbrutsch at creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list