You are not logged in.

#1 2010-12-23 05:57:53

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Mistake with network interfaces

During the installation I made a mistake and accidently set it to eth0 instead of eth1. So i nano'ed into /etc/rc.conf and added it but when i boot and type iwconfig eth1 doesn't appear. How can i fix this so i can connect to the internet?

Offline

#2 2010-12-23 07:33:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mistake with network interfaces

Read this, then if you still have the problem post again

https://wiki.archlinux.org/index.php/Co … ng_Network


Mr Green

Offline

#3 2010-12-23 07:34:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mistake with network interfaces

eth is usually cable network, and iwconfig is about the wireless.
Put all your interfaces in rc.conf just to be sure. Maybe your problem is https://wiki.archlinux.org/index.php/Co … es_varying

Last edited by karol (2010-12-23 07:35:28)

Offline

#4 2010-12-23 16:39:10

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Re: Mistake with network interfaces

Well eth might normaly be for ethernet but when i run ifconfig -a from ubuntu i get eth1 as connected and it has the right ip adress and all so it's definitely what's connected. And i went threw the configuring network and the only thing that i can learn from it is that arch doesn't seem to think eth1 exists.

Offline

#5 2010-12-24 17:07:32

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Re: Mistake with network interfaces

Well i tried reinstalling and first adding eth1 to rc.conf and i realized something weird: during install when i run ifconfig -a eth1 shows up, but after i installed it i ran ifconfig -a and eth1 did not show up. So im guessing im forgetting to install some driver or something that is normally loaded up during the install. I'm kind of new to this advanced of linux so i really have no clue what to fix.

Offline

#6 2010-12-24 17:21:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mistake with network interfaces

Please post the output of those commands https://bbs.archlinux.org/viewtopic.php … 80#p867880

Offline

#7 2010-12-24 21:01:29

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Re: Mistake with network interfaces

well for ifconfig -a i get eth0 and lo but when i run it in ubuntu i get eth1 eth0 and lo
for dmesg | grep eth i get 4 lines all about eth0 and when run in ubuntu i get an 5 about eth0 and 1 about eth1
for lspci | grep net i get 06:08.0 Ethernet controller: broadcom corp netxtreme BCM5788 gigabit ethernet rev 03
and for lsmod | grep mii i get nothing.

Last edited by Foxhead (2010-12-24 21:03:27)

Offline

#8 2010-12-24 21:23:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mistake with network interfaces

IIRC mii-tool doesn't work with gigabit links, so the lack of output for 'lsmod | grep mii' is OK.
I'm afraid we need the exact output of 'ifconfig -a' and 'dmesg | grep eth'. Why don't you paste it here?

Offline

#9 2010-12-24 22:06:07

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Re: Mistake with network interfaces

this is from ubuntu btw in arch it gives less info

as0t0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:5.5.0.1  P-t-P:5.5.0.1  Mask:255.255.248.0
          UP POINTOPOINT RUNNING NOARP 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:200 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

as0t1     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:5.5.8.1  P-t-P:5.5.8.1  Mask:255.255.248.0
          UP POINTOPOINT RUNNING NOARP 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:200 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:c0:9f:ac:f9:ed  
          UP 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 

eth1      Link encap:Ethernet  HWaddr 00:12:f0:b1:1a:ad  
          inet addr:192.168.2.11  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::212:f0ff:feb1:1aad/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1941 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1497 errors:0 dropped:15 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:548261 (548.2 KB)  TX bytes:278199 (278.1 KB)
          Interrupt:17 Base address:0xa000 Memory:b0118000-b0118fff 

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:232 errors:0 dropped:0 overruns:0 frame:0
          TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:32328 (32.3 KB)  TX bytes:32328 (32.3 KB)

[    2.025499] tg3 0000:06:08.0: eth0: Tigon3 [partno(BCM95705A50) rev 3003] (PCI:33MHz:32-bit) MAC address 00:c0:9f:ac:f9:ed
[    2.025505] tg3 0000:06:08.0: eth0: attached PHY is 5705 (10/100/1000Base-T Ethernet) (WireSpeed[0])
[    2.025509] tg3 0000:06:08.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[    2.025513] tg3 0000:06:08.0: eth0: dma_rwctrl[763f0000] dma_mask[32-bit]
[   39.991020] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   50.080022] eth1: no IPv6 routers present

Last edited by jasonwryan (2010-12-24 22:22:05)

Offline

#10 2010-12-24 22:25:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Mistake with network interfaces

Please use \[code\] tags

Also, if you are trying to bring up a wireless interface, you need to follow the steps in the wiki: https://wiki.archlinux.org/index.php/Wireless, especially this bit:

Arch Wiki wrote:

First you will need to check and see if the Linux kernel has support for your card or if a user-space driver is available for it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2010-12-24 22:28:58

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Re: Mistake with network interfaces

Well it worked with ubuntu right after install so im guessing its compatible.

Offline

#12 2010-12-24 22:29:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mistake with network interfaces

Try this https://bbs.archlinux.org/viewtopic.php … 66#p865366

Foxhead wrote:

Well it worked with ubuntu right after install so im guessing its compatible.

Arch is not Ubuntu, there are certain differences in the way the kernel and apps work (which version, what patches etc.).

Last edited by karol (2010-12-24 22:31:38)

Offline

#13 2010-12-24 22:34:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Mistake with network interfaces

Foxhead wrote:

Well it worked with ubuntu right after install so im guessing its compatible.

Yes, but if you are asking here for help, then we would like a little more information than your guesses...
https://wiki.archlinux.org/index.php/Fo … ow_to_Post

If you are trying to use your wireless card, then follow the wiki link I posted. It has everything you need.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2010-12-25 03:23:25

Foxhead
Member
Registered: 2010-12-23
Posts: 27

Re: Mistake with network interfaces

I apologize. I'm new to this advanced stuff. So i found which drivers i need from this post https://wiki.archlinux.org/index.php/Ac … Networking. Now im only trying to find an Ethernet cable to install them without wireless, but before i tear my house apart im wondering : is there a way i can do it from Ubuntu or with the install disk?

Last edited by Foxhead (2010-12-25 03:29:27)

Offline

Board footer

Powered by FluxBB