You are not logged in.
I am using net-profiles to have my network interfaces up. I cant have my static interface up since netcfg 2.1 upgrade (wireless still works).
Here is my /etc/network.d/ethernet.static :
CONNECTION="ethernet"
DESCRIPTION="Reseau statique"
INTERFACE=eth0
IP="static"
IFOPTS="192.168.4.101 netmask 255.255.255.0 broadcast 192.168.4.255"
Rolling back to netcfg 2.0 fixes the problem. Have i missed any upgrade requirement, or is it a bug in netcfg 2.1?
Last edited by zezaz (2008-09-24 17:18:10)
Offline
what's the problem?
"it's broken" doesnt actually tell me what the problem is. What are the error messages? symptoms?
Offline
What are the error messages? symptoms?
When i restart my interfaces with /etc/rc.d/net-profiles restart, the static one (eth0) is put up, but with no IP address.
root@rogue ~]# pacman -Qi netcfg | grep Version
Version : 2.1.0-1
[root@rogue ~]# /etc/rc.d/net-profiles restart
#everything seems OK, but...
[root@rogue ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1A:92:78:69:BF
inet6 addr: fe80::21a:92ff:fe78:69bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:14736 (14.3 Kb)
Interrupt:16 Base address:0x8000
eth0, my ethernet card with static configuration, has no IP address.
With netcfg 2.0 the when the static interface is put up, its ip address is correctly set.
[root@rogue pkg]# pacman -Qi netcfg | grep Version
Version : 2.0.6-1
[root@rogue ~]# /etc/rc.d/net-profiles restart
#everything OK
[root@rogue pkg]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:1A:92:78:69:BF
inet addr:192.168.4.101 Bcast:192.168.4.255 Mask:255.255.255.0
inet6 addr: fe80::21a:92ff:fe78:69bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:147 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:43409 (42.3 Kb)
Interrupt:16 Base address:0x8000
Offline
Do you have an:
IP=dhcp
line in your profile?
This may help troubleshooting: use netcfg 2.1 to get to the broken state you report above. Then run dhcpcd manually and see if you can get issued an IP address. If so, what switches did you use for dhcpcd? If not, what errors did you see?
Offline
I investigated a little more, here are some details. Hope it helps!
I have 2 network cards: eth0 (ethernet card) and eth1 (wireless).
Here is the conf file for eth0:
CONNECTION="ethernet"
DESCRIPTION="Reseau statique"
INTERFACE=eth0
IP="static"
IFOPTS="192.168.4.101 netmask 255.255.255.0 broadcast 192.168.4.255"
And eth1:
CONNECTION="wireless"
DESCRIPTION="Reseau wifi"
INTERFACE=eth1
SCAN="no"
SECURITY="wep"
ESSID="(essid)"
KEY="(key)"
IP="dhcp"
With these settings, and the two cards in my NETWORKS line in the rc.conf:
* netcfg 2.0
on /etc/rc.d/net-profiles start: eth0 and eth1 go up and have an ip address
* netcfg 2.1
on /etc/rc.d/net-profiles start: only eth1 has an ip address. eth0 goes up too but has no ip address.
BUT
if i only put eth0 in my NETWORKS= line in rc.conf , with netcfg 2.1:
* eth0 goes up and has an ip address.
Offline
ok...
I think I know what it might be.
Try netcfg 2.1.1 in [testing] (thats if I havn't moved it to core by the time you read this).
Offline
netcfg 2.1.1 from testing worked for me.
Many thanks!
Offline
@zezaz - Please mark this thread as solved. Thank you
Offline
Done, thank you tigrmesh.
Offline