Page 1 of 1

my wired connection not working

Posted: Tue Sep 11, 2012 4:38 pm
by iageoscience
Hi All

this is the first time for me in your forums and also first time for me to use linux mint ,
my problem is that my wired connection is not working ,
here is the output of lspci -nnk | grep -iA2 net

07:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Askey Computer Corp. Device [144f:7159]
Kernel driver in use: ath9k
--
0c:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
Subsystem: Toshiba America Info Systems Device [1179:ff00]
Kernel driver in use: r8169


and here is the output of inxi -SNx

System: Host: geo Kernel: 3.2.0-23-generic x86_64 (64 bit, gcc: 4.6.3) Desktop: N/A Distro: Linux Mint 13 Maya
Network: Card-1: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
driver: r8169 ver: 2.3LK-NAPI port: 5000 bus-ID: 0c:00.0
Card-2: Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 07:00.0

I see it in the ifconfig and i see it in the network applet at the lowermost right corner i can't connect to it at all .
If you need further invetigation i am here .

Re: my wired connection not working

Posted: Tue Sep 11, 2012 5:10 pm
by remoulder
With cable plugged in and connected to your router, please supply outputs of

Code: Select all

nm-tool
ping -c3 www.google.com
If you don't have a router please explain how you connect?

Re: my wired connection not working

Posted: Tue Sep 11, 2012 5:26 pm
by iageoscience
here is the output of nm-tool

eo ~ # nm-tool

NetworkManager Tool

State: disconnected

- Device: ttyUSB0 --------------------------------------------------------------
Type: Mobile Broadband (GSM)
Driver: option1
State: disconnected
Default: no

Capabilities:


- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: r8169
State: unavailable
Default: no
HW Address: 70:5A:B6:85:A8:E0

Capabilities:
Carrier Detect: yes

Wired Properties
Carrier: off


- Device: wlan0 ----------------------------------------------------------------
Type: 802.11 WiFi
Driver: ath9k
State: unavailable
Default: no
HW Address: 00:26:B6:DE:99:02

Capabilities:

Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes

Wireless Access Points

the rsult of ping command is unknown host

I connect to a microtik server distributing internet , I must edit the mac adress to match that in the microtik server to give me internet
the original adress of the interface is that one in nm-tool command output ,
i need to change it to the following adress 00:1e:8c:15:91:55
i used the ifconfig ifconfig hw ether command and the package macchanger-gtk to change the mac adress .
but in network manager it doesnt change it stay the same although it change when displaying status of eth0 with ifconfig command .

Re: my wired connection not working

Posted: Wed Sep 12, 2012 6:04 am
by remoulder
iageoscience wrote:edit the mac adress to match
You either use command line tools or network manager, not both. There is an option in the connection properties within NM to clone a MAC address.

Re: my wired connection not working

Posted: Wed Sep 12, 2012 10:06 am
by iageoscience
I meant i change my mac address through one method not both ,
although the mac address is changed it is not working .

Re: my wired connection not working

Posted: Wed Sep 12, 2012 10:36 am
by remoulder
No you are trying to use both. Ifconfig amd macchanger are command line tools but you are expecting NM to take account of the changes. As I said, you either use command line networking or NM, not both. If you want to use command line tools, remove NM.

Re: my wired connection not working

Posted: Wed Sep 12, 2012 11:04 am
by iageoscience
i don't care NM reflect mac change or not , what i am care of is to get the internet working ,
please tell me detailed steps to get y internet working am still new to linux , and you are our expert here .

Re: my wired connection not working

Posted: Wed Sep 12, 2012 1:07 pm
by remoulder
You have been given advice, but since you don't seem to want to read it I can't help any further. Good luck.