LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Strange Networking Issue (https://www.linuxquestions.org/questions/suse-opensuse-60/strange-networking-issue-439547/)

EclipseAgent 04-27-2006 09:49 PM

Strange Networking Issue
 
During boot you can see that initializing the NIC's stop at the first card, if it gets an DCHP Address or not.

Once booted, the second card will get DHCP, but you can not access anything via "HOSTNAME" you can only ping via IP Address.

So, to work around it I have done the following.

linux:/etc/udev/rules.d # pwd
/etc/udev/rules.d
linux:/etc/udev/rules.d # cat 30-net_persistent_names.rules
***SNIP SNIP***
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:0e:7b:7c:60:a2", IMPORT="/sbin/rename_netiface %k eth2"
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:04:23:50:f1:f7", IMPORT="/sbin/rename_netiface %k eth1"

I change the eth2 to eth0 when I want to use my onboard NIC (which I switch from Wireless to Wired daily).

Anyone know the cause or the fix of this?

What if I turned "FORCE_PERSISTENT_NAMES" to "NO" would that fix the issue? If not, what should I do to try to fix?

EclipseAgent 04-28-2006 10:05 AM

This is what I have done, I'll test the wireless tonight at home:

linux:/home/bkevan # cat /etc/sysconfig/network/ifcfg-eth*
BOOTPROTO='dhcp'
BROADCAST=''
IPADDR=''
MTU=''
NAME='Toshiba America Info PRO/1000 MT Mobile Connection'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='ifplugd'
UNIQUE='gvUW.8+pH9iN5OmB'
USERCONTROL='no'
_nm_name='bus-pci-0000:02:09.0'

linux:/home/bkevan # cat /etc/sysconfig/network/ifcfg-wl*
BOOTPROTO='dhcp'
BROADCAST=''
IPADDR=''
MTU=''
NAME='Intel PRO/Wireless LAN 2100 3B Mini PCI Adapter'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='y9as.NNm_C6+3ZFE'
USERCONTROL='no'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_ESSID='Wireless BK'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_POWER='yes'
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK=''
_nm_name='bus-pci-0000:02:0a.0'


I changed startup mode for eth0 to ifplugd, previously it was set to auto

EclipseAgent 04-28-2006 08:51 PM

Just to let anyone know who cares, that changing the eth0 to startmode of ifplugd fixed the issue.

I guess eth0 was initializing and when not plugged in, it never went to eth1.

Oh, well it is fixed now


All times are GMT -5. The time now is 04:32 PM.