non riesco ad accedere ad internet...
Allora, ho slackware 10.2 e 2 schede di rete: una per collegarmi ad un altro pc (eth1) e l'altra (eth0) per collegarmi al modem ethernet AliceGate...
con netconfig ho impostato il dhcp su eth0, quindi non ho assegnato un ip specifico alla eth0; poi ho configurato la connessione con pppoe-setup e ho messo user (aliceadsl) e pass (aliceadsl) e i DNS (212.216.112.112 e 212.216.172.62); dopodichè ho fatto pppoe-start e mi è uscito Connected!
Tutto felice apro firefox e provo ad andare su google, ma... non va allora provo con konqueror: nemmeno...
Ho provato a pingare su google e mi dice che ha inviato 5 pacchetti e ne ha ricevuti 0...
Ho controllato resolv.conf e ci sono i DNS...
Facendo ifconfig:
Codice: Seleziona tutto
eth0 Link encap:Ethernet HWaddr 00:50:BF:03:CD:42
inet addr:192.168.1.6 Bcast:255.255.255.255 Mask:255.255.255.224
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:267 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22526 (21.9 Kb) TX bytes:4144 (4.0 Kb)
Interrupt:11 Base address:0x9400
eth1 Link encap:Ethernet HWaddr 00:A0:C5:B2:5E:4E
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:718 errors:0 dropped:0 overruns:0 frame:0
TX packets:668 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:44971 (43.9 Kb) TX bytes:40080 (39.1 Kb)
Interrupt:5 Base address:0x7000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:82.59.23.99 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:225 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:13604 (13.2 Kb) TX bytes:37 (37.0 b)
Codice: Seleziona tutto
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Facendo iptables -nvL:
Codice: Seleziona tutto
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 LOG tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:1023 LOG flags 0 level 4
0 0 LOG udp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 udp dpts:0:1023 LOG flags 0 level 4
0 0 DROP tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:1023
0 0 DROP udp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 udp dpts:0:1023
0 0 LOG udp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 udp dpt:2049 LOG flags 0 level 4
0 0 LOG tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpt:2049 LOG flags 0 level 4
0 0 DROP udp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 udp dpt:2049
0 0 DROP tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpt:2049
0 0 LOG tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpts:6000:6063 LOG flags 0 level 4
0 0 DROP tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpts:6000:6063
0 0 LOG tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpt:7100 LOG flags 0 level 4
0 0 DROP tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp dpt:7100
0 0 LOG tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 LOG flags 0 level 4
0 0 DROP tcp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02
0 0 DROP icmp -- ppp+ * 0.0.0.0/0 0.0.0.0/0 icmp type 8
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Codice: Seleziona tutto
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- * ppp+ 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Ps: Perdonate la lunghezza del post, ma ho cercato di darvi tutte le informazioni che avevo... sono molto inesperto, sto imparando, ma è difficile imparare dovendo riavviare ogni volta per provare un nuovo comando... (internet funziona solo su win, per questo le guide o google le leggo su win per ora...)


