Hello,
I’m a newbie to Linux and I’ve just installed openSUSE 11.1. The problem I’m having is that I can’t ssh to servers from my terminal. I can however access the internet using my web browser.
For example when I try to ping Google it states that the packets are filtered.
Does anyone have any suggestions or test I can carry out to see where the problem i?
Thanks.
I’ve seen that packet filtered message before. It actually means host or network unreachable. It’s not a terribly good message.
https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/54925
It’s hard to say what your situation is without more information on your setup. Where are you running, on a home LAN, on a company LAN, are you going through a proxy for web access, how are you getting an address: by DHCP or static IP setup, and so many other things.
Thanks for the quick reply.
I’m running on a university LAN. I use a proxy to access the web. Also to access the internet using the web browser I have to set a automatic proxy configuration. I’m not sure whether I’m using static IP or DHCP. I think it’s DHCP, is there anyway to check this?
Usually it’s DHCP, if you had set up static IP you would remember.
Possibly this perfectly normal for your university LAN that you are not allowed to ping or ssh outside and you can only use the web through a proxy.
However, if these things are allowed, then you may simply be missing a gateway.
Please post the output of these commands:
ip addr
cat /etc/resolv.conf
route -n
You will need to be root to run these commands because they are usually not in a normal user’s path.
Here are the results. I doubt whether the university blocks ssh since I can ssh from Putty on Win XP.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:13:ce:ba:44:63 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:14:22:8a:59:83 brd ff:ff:ff:ff:ff:ff
inet 172.29.124.232/24 brd 172.29.124.255 scope global eth1
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
search hughes.private.cam.ac.uk
nameserver 131.111.8.42
nameserver 131.111.12.20
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.29.124.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.29.124.62 0.0.0.0 UG 0 0 0 eth1
Sorry, I just tried to ssh and I can actually ssh now (earlier I forgot to enter my username when I ssh)
It’s just the ping issue now.
Your configuration looks normal. It may be simply that you are not allowed to ping outside the University. What about local servers, can you ping those? If that works, there is nothing wrong with your computer setup.
Yes I can ping the local servers. So they are blocking the pings then. Cheers for the help though.