Jump to content

dsl problem - important! - solved


arctic
 Share

Recommended Posts

hi, folks.

 

:help: this is an urgent problem. my new box in my newspaper-office (which i have to use as a picture-transfer-database at work) won't connect to the net. i need to get it running very fast. so please help me.

 

what i have done so far with a colleague:

installed clean mandrake-system, the gmx-adsl-settings are all set (used adsl-setup in console). adsl-start and adsl-stop do work but i do not get any file-transfer from the modem.

here are some results of checking my box:

 

ifcfg-eth0:

DEVICE=eth0

BOOTPROTO=static

IPADDR=192.168.1.1

NETMASK=255.255.255.0

NETWORK=192.168.1.0

BROADCAST=192.168.1.255

ONBOOT=yes

MII_NOT_SUPPORTED=yes

dhcp-file

# You can set here various option for dhcpd

 

# Which configuration file to use.

# CONFIGFILE="/etc/dhcpd.conf"

 

# Where to store the lease state information.

# LEASEFILE="/var/lib/dhcp/dhcpd.leases"

 

# Define INTERFACES to limit which network interfaces dhcpd listens on.

# The default null value causes dhcpd to listen on all interfaces.

#INTERFACES=""

 

# Define OPTIONS with any other options to pass to the dhcpd server.

# See dhcpd(8) for available options and syntax.

OPTIONS="-q"

 

INTERFACES="eth0"

ifconfig

[root@klawitterbus kalle]# ifconfig

eth0      Protokoll:Ethernet  Hardware Adresse 00:10:DC:85:92:46

          inet Adresse:192.168.1.1  Bcast:192.168.1.255  Maske:255.255.255.0

          inet6 Adresse: fe80::210:dcff:fe85:9246/64 Gültigkeitsbereich:Verbindung

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0

          Kollisionen:0 Sendewarteschlangenlänge:1000

          RX bytes:0 (0.0 b )  TX bytes:6820 (6.6 Kb)

          Interrupt:19 Basisadresse:0xdc00

 

lo        Protokoll:Lokale Schleife

          inet Adresse:127.0.0.1  Maske:255.0.0.0

          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:361 errors:0 dropped:0 overruns:0 frame:0

          TX packets:361 errors:0 dropped:0 overruns:0 carrier:0

          Kollisionen:0 Sendewarteschlangenlänge:0

          RX bytes:26181 (25.5 Kb )  TX bytes:26181 (25.5 Kb )

 

ppp0      Protokoll:Punkt-zu-Punkt Verbindung

          inet Adresse:10.112.112.112  P-z-P:10.112.112.113  Maske:255.255.255.255

          UP PUNKTZUPUNKT RUNNING NOARP MULTICAST  MTU:1492  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          Kollisionen:0 Sendewarteschlangenlänge:3

          RX bytes:0 (0.0 b )  TX bytes:0 (0.0 b )

route -n check

[root@klawitterbus kalle]# route -n
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
10.112.112.113  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 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.112.112.113  0.0.0.0         UG    0      0        0 ppp0

iptables

[root@klawitterbus kalle]# iptables -t nat -D PREROUTING -i eth0 -j loc_nat
iptables v1.2.9: Couldn't load target `loc_nat':/lib/iptables/libipt_loc_nat.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

[root@klawitterbus kalle]# iptables -nvL
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
 199 14673 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0
   0     0 DROP      !icmp --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID
   0     0 ppp_in     all  --  ppp+   *       0.0.0.0/0            0.0.0.0/0
   0     0 common     all  --  *      *       0.0.0.0/0            0.0.0.0/0
   0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 6 prefix `Shorewall:INPUT:REJECT:'
   0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
   0     0 DROP      !icmp --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID
   0     0 ppp_fwd    all  --  ppp+   *       0.0.0.0/0            0.0.0.0/0
   0     0 common     all  --  *      *       0.0.0.0/0            0.0.0.0/0
   0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 6 prefix `Shorewall:FORWARD:REJECT:'
   0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
 199 14673 ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0
   0     0 DROP      !icmp --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID
 502 33753 fw2net     all  --  *      ppp+    0.0.0.0/0            0.0.0.0/0
  54  4536 common     all  --  *      *       0.0.0.0/0            0.0.0.0/0
  54  4536 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 6 prefix `Shorewall:OUTPUT:REJECT:'
  54  4536 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain all2all (0 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
   0     0 newnotsyn  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp flags:!0x16/0x02
   0     0 common     all  --  *      *       0.0.0.0/0            0.0.0.0/0
   0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 6 prefix `Shorewall:all2all:REJECT:'
   0     0 reject     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain common (5 references)
pkts bytes target     prot opt in     out     source               destination
  54  4536 icmpdef    icmp --  *      *       0.0.0.0/0            0.0.0.0/0
   0     0 reject     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:135
   0     0 reject     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpts:137:139
   0     0 reject     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:445
   0     0 reject     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:139
   0     0 reject     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:445
   0     0 reject     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:135
   0     0 DROP       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:1900
   0     0 DROP       all  --  *      *       0.0.0.0/0            255.255.255.255
   0     0 DROP       all  --  *      *       0.0.0.0/0            224.0.0.0/4
   0     0 reject     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:113
   0     0 DROP       udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp spt:53 state NEW

Chain dynamic (2 references)
pkts bytes target     prot opt in     out     source               destination

Chain fw2net (1 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
   0     0 newnotsyn  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp flags:!0x16/0x02
 502 33753 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain icmpdef (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain net2all (1 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
   0     0 newnotsyn  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp flags:!0x16/0x02
   0     0 common     all  --  *      *       0.0.0.0/0            0.0.0.0/0
   0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 6 prefix `Shorewall:net2all:DROP:'
   0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain newnotsyn (3 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0           LOG flags 0 level 6 prefix `Shorewall:newnotsyn:DROP:'
   0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain ppp_fwd (1 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 dynamic    all  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW

Chain ppp_in (1 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 dynamic    all  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW
   0     0 net2all    all  --  *      *       0.0.0.0/0            0.0.0.0/0

Chain reject (11 references)
pkts bytes target     prot opt in     out     source               destination
   0     0 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with tcp-reset
   0     0 REJECT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable
  54  4536 REJECT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-unreachable
   0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited

Chain shorewall (0 references)
pkts bytes target     prot opt in     out     source               destination

trying to ping

[root@klawitterbus kalle]# ping 192.168.1.2

PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.

From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

From 192.168.1.1 icmp_seq=1 Destination Host Unreachable

ping: sendmsg: Operation not permitted

From 192.168.1.1 icmp_seq=2 Destination Host Unreachable

ping: sendmsg: Operation not permitted

From 192.168.1.1 icmp_seq=3 Destination Host Unreachable

ping: sendmsg: Operation not permitted

From 192.168.1.1 icmp_seq=4 Destination Host Unreachable

ping: sendmsg: Operation not permitted

 

--- 192.168.1.2 ping statistics ---

4 packets transmitted, 0 received, +9 errors, 100% packet loss, time 3080ms

 

any help would be great. :thanks:

Edited by arctic
Link to comment
Share on other sites

Are you using the ADSL modem in USB mode.

I could me a another occurrence of the ADSL-usb problem that has plagued so many Mandrake users, including myself. I resolved it very simply by using the Modems LAN facility to connect to my mainboard LAN outlet. Have never looked back. It is cleaner and quicker to setup and virtually no data to be set in as part of the install.

If you can, try going LAN if you are not already doing so.

 

Cheers. John.

Link to comment
Share on other sites

it is not a usb-modem. and i tried alternatively a LAN network setup before but then the eth0 didn't transport any data (wasn't able to get "ifup eth0" working).

 

i will look for the firewall thing later. thanx for the first hints. more hints/help are always welcomed. :)

Edited by arctic
Link to comment
Share on other sites

So your modem is a eth modem and is plugged on eth0 ?

nope, the modem is from german telekom, external, connected to a sis9000 network card. will try the dynamic dhcp too tomorrow.

 

...damn that this all happens at weekend where i have little chance to work on the box...

Link to comment
Share on other sites

i have changed the network from static to dhcp but the result is the same. trying to ping an ip gives again the output of a destinationhost unreachable. :sad:

Edited by arctic
Link to comment
Share on other sites

Have you had a chance to check that firewall yet? I would tend to agree with devries on this one. I had a similar problem about 6 months ago. I believe it was triggered when I messes with the "share a connection" option, but I'm not positive.

 

Anyway, My firewall settings seemed fine, but just for kicks, I turned it off, took eth0 down and then back up again, then reset the firewall. Everything ran fine afther that.

 

Might be worth a try.

 

*Edited to insert Windows joke

 

(For those recent Windows converts, you can just reset your computer instead of taking eth0 down and up - if it makes you feel any better :D )

Edited by kmc77
Link to comment
Share on other sites

  • 2 weeks later...

i got it working now. it was indeed a firewall problem and i had to play a round with its settings. somehow the firewall blocked all incoming signals. i was able to check that using another comp and plug it into the lan. thanx guys.

Link to comment
Share on other sites

i didn't change anything in my iptables but in the outer firewall settings (needed to open some ports). maybe in your case, you have to open some ports of your distro. or try first with disabling the firewall alltogether. do you get net access then?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...