LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2006, 01:31 PM   #1
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Rep: Reputation: 15
cannot connect to internet


I am having a problem with internet connection in mandriva 2006.1
I tried to set up the network after installing the os.
I tried with mandriva control center, as root, of course.
The final message is that the connection was successfully established. But everytime I open my system I get the following message:'No connection configured. Go to mandriva control center....'.
I tried to modify by myself the files from /etc and I
restarted the network with /etc/init.d/rc.d/network restart.
All I got was: 'Network is down on eth0'
My connection type is LAN. The module works fine.
I reinstalled mandriva and I configured the network during install.
Stil nothing.
Is it the security level. I tried high, then standard.
nothing.
What can I do?
 
Old 01-14-2006, 02:17 PM   #2
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
Need more info, but try posting the output of the following commands (as root, of course):

let's see your active interfaces
Code:
ifconfig
let's see all you interfaces (up and down)
Code:
ifconfig -a
let's check out your routes and default gw
Code:
route -n
let's find interrupt conflicts
Code:
cat /proc/interrupts
let's see your INPUT rules and policies
Code:
iptables -L --line
let's check out your NAT rules and policies
Code:
iptables -t nat -L --line
take a look at your loaded modules
Code:
lsmod
let's find boot-time problems and errors
Code:
dmesg | egrep '(error|fatal|panic)'
 
Old 01-15-2006, 12:00 PM   #3
da_marius
Member
 
Registered: Dec 2005
Location: Bucharest, Romania
Distribution: Ubuntu 10.04
Posts: 38

Original Poster
Rep: Reputation: 15
Here it is:

[root@localhost da_marius]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5116 (4.9 KiB) TX bytes:5116 (4.9 KiB)


[root@localhost da_marius]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0D:87:57:AC:A8
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xe400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5116 (4.9 KiB) TX bytes:5116 (4.9 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost da_marius]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface


[root@localhost da_marius]# cat /proc/interrupts
CPU0
0: 368971 IO-APIC-edge timer
1: 997 IO-APIC-edge i8042
2: 0 XT-PIC cascade
8: 1 IO-APIC-edge rtc
12: 16151 IO-APIC-edge i8042
14: 21263 IO-APIC-edge ide0
21: 0 IO-APIC-level uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3
22: 3432 IO-APIC-level VIA8233
NMI: 0
LOC: 368914
ERR: 0
MIS: 0


[root@localhost da_marius]# iptables -L --line
Chain Drop (1 references)
num target prot opt source destination
1 reject tcp -- anywhere anywhere tcp dpt:auth
2 dropBcast all -- anywhere anywhere
3 ACCEPT icmp -- anywhere anywhere icmp fragmentation-needed
4 ACCEPT icmp -- anywhere anywhere icmp time-exceeded
5 dropInvalid all -- anywhere anywhere
6 DROP udp -- anywhere anywhere multiport dports 135,microsoft-ds
7 DROP udp -- anywhere anywhere udp dpts:netbios-ns:netbios-ssn
8 DROP udp -- anywhere anywhere udp spt:netbios-ns dpts:1024:65535
9 DROP tcp -- anywhere anywhere multiport dports 135,netbios-ssn,microsoft-ds
10 DROP udp -- anywhere anywhere udp dpt:1900
11 dropNotSyn tcp -- anywhere anywhere
12 DROP udp -- anywhere anywhere udp spt:domain

Chain INPUT (policy DROP)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere
2 Ifw all -- anywhere anywhere
3 eth0_in all -- anywhere anywhere
4 Reject all -- anywhere anywhere
5 LOG all -- anywhere anywhere LOG level info prefix `Shorewall:INPUT:REJECT:'
6 reject all -- anywhere anywhere

Chain FORWARD (policy DROP)
num target prot opt source destination
1 eth0_fwd all -- anywhere anywhere
2 Reject all -- anywhere anywhere
3 LOG all -- anywhere anywhere LOG level info prefix `Shorewall:FORWARD:REJECT:'
4 reject all -- anywhere anywhere

Chain Ifw (1 references)
num target prot opt source destination
1 RETURN all -- anywhere anywhere set ifw_wl src
2 DROP all -- anywhere anywhere set ifw_bl src
3 IFWLOG all -- anywhere anywhere state INVALID,NEW psd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix 'SCAN'

Chain OUTPUT (policy DROP)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere
2 fw2net all -- anywhere anywhere
3 Reject all -- anywhere anywhere
4 LOG all -- anywhere anywhere LOG level info prefix `Shorewall:OUTPUT:REJECT:'
5 reject all -- anywhere anywhere

Chain Reject (4 references)
num target prot opt source destination
1 reject tcp -- anywhere anywhere tcp dpt:auth
2 dropBcast all -- anywhere anywhere
3 ACCEPT icmp -- anywhere anywhere icmp fragmentation-needed
4 ACCEPT icmp -- anywhere anywhere icmp time-exceeded
5 dropInvalid all -- anywhere anywhere
6 reject udp -- anywhere anywhere multiport dports 135,microsoft-ds
7 reject udp -- anywhere anywhere udp dpts:netbios-ns:netbios-ssn
8 reject udp -- anywhere anywhere udp spt:netbios-ns dpts:1024:65535
9 reject tcp -- anywhere anywhere multiport dports 135,netbios-ssn,microsoft-ds
10 DROP udp -- anywhere anywhere udp dpt:1900
11 dropNotSyn tcp -- anywhere anywhere
12 DROP udp -- anywhere anywhere udp spt:domain

Chain all2all (0 references)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
2 Reject all -- anywhere anywhere
3 LOG all -- anywhere anywhere LOG level info prefix `Shorewall:all2all:REJECT:'
4 reject all -- anywhere anywhere

Chain dropBcast (2 references)
num target prot opt source destination
1 DROP all -- anywhere anywhere PKTTYPE = broadcast
2 DROP all -- anywhere anywhere PKTTYPE = multicast

Chain dropInvalid (2 references)
num target prot opt source destination
1 DROP all -- anywhere anywhere state INVALID

Chain dropNotSyn (2 references)
num target prot opt source destination
1 DROP tcp -- anywhere anywhere tcp flags:!FIN,SYN,RST,ACK/SYN

Chain dynamic (2 references)
num target prot opt source destination

Chain eth0_fwd (1 references)
num target prot opt source destination
1 dynamic all -- anywhere anywhere state INVALID,NEW

Chain eth0_in (1 references)
num target prot opt source destination
1 dynamic all -- anywhere anywhere state INVALID,NEW
2 net2all all -- anywhere anywhere

Chain fw2net (1 references)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
2 ACCEPT all -- anywhere anywhere

Chain net2all (1 references)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
2 Drop all -- anywhere anywhere
3 LOG all -- anywhere anywhere LOG level info prefix `Shorewall:net2allROP:'
4 DROP all -- anywhere anywhere

Chain reject (10 references)
num target prot opt source destination
1 DROP all -- anywhere anywhere PKTTYPE = broadcast
2 DROP all -- anywhere anywhere PKTTYPE = multicast
3 DROP all -- 255.255.255.255 anywhere
4 DROP all -- 224.0.0.0/4 anywhere
5 REJECT tcp -- anywhere anywhere reject-with tcp-reset
6 REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable
7 REJECT icmp -- anywhere anywhere reject-with icmp-host-unreachable
8 REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain shorewall (0 references)
num target prot opt source destination

Chain smurfs (0 references)
num target prot opt source destination
1 LOG all -- 255.255.255.255 anywhere LOG level info prefix `Shorewall:smurfsROP:'
2 DROP all -- 255.255.255.255 anywhere
3 LOG all -- 224.0.0.0/4 anywhere LOG level info prefix `Shorewall:smurfsROP:'
4 DROP all -- 224.0.0.0/4 anywhere



[root@localhost da_marius]# iptables -t nat -L --line
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination


[root@localhost da_marius]# lsmod
Module Size Used by
binfmt_misc 8872 1
nfsd 215872 9
exportfs 4576 1 nfsd
lockd 58536 2 nfsd
nfs_acl 2688 1 nfsd
sunrpc 127780 13 nfsd,lockd,nfs_acl
autofs4 14916 0
snd_seq_dummy 2532 0
snd_seq_oss 31072 0
snd_seq_midi_event 5664 1 snd_seq_oss
snd_seq 46896 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 48544 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_via82xx 24256 2
gameport 11112 1 snd_via82xx
snd_ac97_codec 83996 1 snd_via82xx
snd_pcm 79752 4 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 20388 2 snd_seq,snd_pcm
snd_page_alloc 8392 2 snd_via82xx,snd_pcm
snd_mpu401_uart 5664 1 snd_via82xx
snd_rawmidi 19584 1 snd_mpu401_uart
snd_seq_device 6860 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 46116 14 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device
soundcore 7008 1 snd
ipt_IFWLOG 2788 1
ipt_psd 43364 1
ip_set_iptree 5544 2
ipt_REJECT 4256 4
ipt_LOG 6240 7
ipt_state 1312 7
ipt_pkttype 1184 4
ipt_set 1920 2
iptable_raw 1408 0
ipt_CLASSIFY 1632 0
ipt_CONNMARK 1696 0
ipt_ipp2p 7808 0
ipt_connmark 1216 0
ipt_owner 2432 0
ipt_recent 9228 0
ipt_iprange 1312 0
ipt_physdev 1744 0
ipt_multiport 2144 4
ipt_conntrack 1792 0
iptable_mangle 2016 1
ip_set_portmap 3872 0
ip_set_macipmap 3780 0
ip_set_ipmap 3872 0
ip_set_iphash 5924 0
ip_set 18812 11 ip_set_iptree,ipt_set,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
ip_nat_irc 1824 0
ip_nat_tftp 1216 0
ip_nat_ftp 2560 0
iptable_nat 20148 3 ip_nat_irc,ip_nat_tftp,ip_nat_ftp
ip_conntrack_irc 70352 1 ip_nat_irc
ip_conntrack_tftp 3088 1 ip_nat_tftp
ip_conntrack_ftp 71408 1 ip_nat_ftp
ip_conntrack 40600 9 ipt_state,ipt_conntrack,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,iptable_nat,ip_conntrack_irc,ip_conntrack_ tftp,ip_conntrack_ftp
iptable_filter 2080 1
ip_tables 20352 21 ipt_IFWLOG,ipt_psd,ipt_REJECT,ipt_LOG,ipt_state,ipt_pkttype,ipt_set,iptable_raw,ipt_CLASSIFY,ipt_CON NMARK,ipt_ipp2p,ipt_connmark,ipt_owner,ipt_recent,ipt_iprange,ipt_physdev,ipt_multiport,ipt_conntrac k,iptable_mangle,iptable_nat,iptable_filter
via_rhine 19588 0
mii 4608 1 via_rhine
af_packet 16424 0
md5 3584 1
ipv6 233888 10
ip_vs 91424 0
floppy 55444 0
ide_cd 37988 0
loop 14536 0
nls_iso8859_1 3680 3
nls_cp850 4480 3
vfat 10464 3
fat 45980 1 vfat
supermount 31988 1
via_agp 7584 1
agpgart 29032 1 via_agp
tsdev 5984 0
ehci_hcd 29128 0
uhci_hcd 29136 0
usbcore 108380 3 ehci_hcd,uhci_hcd
evdev 7616 0
ext3 124712 2
jbd 48600 1 ext3


[root@localhost da_marius]# dmesg | egrep '(error|fatal|panic)'
ehci_hcd: probe of 0000:00:10.3 failed with error -38
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM
How to connect to the internet??? Hachaso Linux - Software 2 04-12-2002 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration