net problem

Michalis Kabrianis mkabrian at acropolis.gr
Fri Aug 28 01:11:33 EEST 1998


On 27-Aug-98 Kaminakis Nikos wrote:
> to ip tou linux einai 194.219.148.211
> 
> root at brave:~# ping 194.219.148.211
> PING 194.219.148.211 (194.219.148.211): 56 data bytes
> ping: sendto: Network is unreachable
> ping: wrote 194.219.148.211 64 chars, ret=-1
> ping: sendto: Network is unreachable
> ping: wrote 194.219.148.211 64 chars, ret=-1
> ping: sendto: Network is unreachable
> ping: wrote 194.219.148.211 64 chars, ret=-1
> 
> --- 194.219.148.211 ping statistics ---
> 3 packets transmitted, 0 packets received, 100% packet loss
> root at brave:~# ping 127.0.0.1
> PING 127.0.0.1 (127.0.0.1): 56 data bytes
> 
> --- 127.0.0.1 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
> root at brave:~#
> 
> koita3a me to netcfg ta interfaces, kai eida to loopback 
> 
> interface     IP      proto   atboot  active
> -------------------------------------------------
> lo      127.0.0.1     none    yes     inactive

Ara den prepei na sou kanei entyposi to "Network is unreacheble" giati den
yparxei interface me ayti tin IP

> 
> meta apo ligo psa3imo eida oti xriazetai na dhlwsw
> route add -net 127.0.0.0
> pou prepei na to orisw auto gia na ekteleite ka0e fora pou bootarw ??
> epishs eida sto man page oti to -net diavazei apo to /etc/networks
> tetoio omws arxeio den exw.
> root at brave:/# route add -net 127.0.0.0
> SIOCADDRT: Network is unreachable
> root at brave:/# 

To route tha to diloseis gia to interface pou tha sikoseis

ifconfig eth0 194.219.148.211 up
Me ayti tin etnoli sikoneis to interface eth0 pou antistoixei stin karta
diktyou poy exeis dilosei, eite mesa ston kernel, i os module (hint hint gia
ton kernel sou)

route -add default eth0

Tou les oti to routing tha ginetai meso tou eth0

> 
> oso kai na epsa3a den vrika kapoio arxeio pou na krataei stoixeia gia ta 
> interfaces pou exeis panw ..........
> kamia idea ????
> kamia lysh ????

Nai, ap' ola: Idea:  Afou exeis OpenLinux, ta paths einai sosta:
Diabase to /etc/rc.d/init.d/network
Peiraxe ta arxeia sto /etc/sysconfig/network-scripts gia eth0

Enallaktika, anoixe to control-panel kai kane add interface (eth0) klp klp klp
> 
> 
> nikolas
> 
> --

Michalis Kabrianis
mkabrian at acropolis.gr

----------------------------------------------------------------------

Note: No Microsoft programs were used in the creation of this message. 
If you are using a Microsoft program to view this message, BEWARE! 
I am NOT responsible for any harm you may encounter as a result.

--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list