Another problem with network

Andreas Ruppen andreas.ruppen at gmail.com
Tue Jun 27 19:40:35 BST 2006


> I just installed kubuntu and everything went well. The only problem (so
> far) is that I can't ping or ssh to my other computer. I can ping and
> ssh into kubuntu from the other linux computer.
> 
> I can ping localhost (kubuntu) and I am on dialup and can use the net
> without problem.
Since internet seems to work a assume that 
1) for the ping its a routing problem. When you type "netstat -r" you should
get something like:
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS Fenêtre irtt
Iface
192.168.1.0     *               255.255.255.248 U         0 0          0
eth0
192.168.185.0   *               255.255.255.0   U         0 0          0
eth1
default         192.168.1.1     0.0.0.0         UG        0 0          0
eth0
exceptc that eth0 sould be ppp0 for you and wlan0 should be eth0.
if you are missing the first route you can try adding it by hand
run as sudo:
route add -net 192.168.1.0 mask 255.255.255.0
(if nothing works after remove the rule with route del -net 192.168.1.0)

2) for the ssh issue is sshd running on the other machine?
try /etc/init.d/ssh start (as sudo).
BUT TRY FIST FIX THE PING ISSUE. Cause your line timed out.

> jerry at backup:~ $ cat /etc/ssh/ssh_config
> #       $OpenBSD: ssh_config,v 1.20 2005/01/28 09:45:53 dtucker Exp $
>
[snip] 
i'm not a specialist but my file looks like this

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
    SendEnv LANG LC_*
    HashKnownHosts yes

> Here is /etc/hosts:
hosts is ok at least for me.

> Here is the result of ssh:
> 
> jerry at backup:~ $ time ssh jerry at main -v
[snip]
> debug1: connect to address 192.168.1.50 port 22: Connection timed out
> ssh: connect to host main port 22: Connection timed out
when there is no route to host the connection times out. thus first try to
fix the routes

> I did have both modules 8139too and 8139cp install, and blacklisted
> 8139cp as andreas explained in another thread. I did reboot.
i don't know your specific material but i think thats ok so.

> I also installed etherape but get error messages; "no suitable device
> found"     when I start it from gui.

> (EtherApe:16926): GLib-GObject-WARNING **: IA__g_object_set_property:
> object class `GtkTable' has no property named `orientation'
> /bin/sh: /usr/bin/esd: No such file or directory
I get these same warnings when i start etherape as user. Try sudo







More information about the kubuntu-users mailing list