Networking problems in Fedora Core 2

From: Aaron Gaudio (prothonotar_at_tarnation.dyndns.org)
Date: 05/20/04

  • Next message: Coume - Lubox.com: "Anyone manage to get a PVR350 working under FC2?"
    Date: Thu, 20 May 2004 16:36:20 -0400
    To: fedora-list <fedora-list@redhat.com>
    
    
    
    

    Hello all,

    In fedora core 1 (and RH9) I had setup my laptop to use different
    aliases for the same ethernet device for different wireless lan
    profiles/devices.

    For example, I have a network profile "Home" which has a device
    named "Home" that maps to eth1:1 (eth1 is my builtin wireless card).
    For another network profiles "Spot" I have a device named "default"
    that maps to eth1:7 (I have similar settings for eth1:2, etc.). I
    did this originally in RH9 because having them all use eth1 seemed to
    cause the driver to freeze up on occassion when bringing down the interface.
    Note that I do not attempt to bring these interfaces up simultaneously.
    In Fedora Core 1, eth1 would always be listed in ifconfig, but with no
    IP address, and then when I brought one of the aliases up, that would
    appear in ifconfig as well.

    In Fedora Core 2, I am running into two problems with this setup.

    The first, and most infuriating, is that the "new" dhcp client dhclient,
    does not appear to play well with the networking layout that Red Hat
    is trying to implement. Apparently, when dhclient is run, it executes
    /sbin/dhclient-script. dhclient-script will look for
    etc/sysconfig/network-scripts/ifcfg-${interface} to find the interface
    settings (even though the correct ifcfg file has already been sourced
    as part of ifup). Unlike ifup, however, dhclient only looks for $interface
    which resolves to the actual device name (eth1 or eth1:1, etc.). In my case,
    however, the "device" (from the user perspective) is "Home" and the ifcfg
    file is "ifcfg-Home". This pseudonym for the device (which is the name that
    ifup and related scripts all know the device as) does not appear to be
    transferred to dhclient at all, and thus it fails.

    The second issue is that even after hacking dhclient-script to hardcode
    the correct ifcfg file in a particular case, aliases are not working.
    I get the error "SIOCSIFFLAGS: Cannot assign requested address". I have
    concluded that this is *not* an issue with the kernel driver, because
    I never had this problem in FC1, and immediately began encountering this
    problem after upgrading to the FC2 test (fedora devel) packages, but without
    changing my kernel (in other words, this problem came about even in a
    kernel which is known to have worked). This does not appear to be a
    dhclient-related issue, because a manual ifconfig eth1:1 has the same
    effect.

    Just for reference, though, I'm running on a Sony Vaio PCG-R505 laptop,
    using the builtin wireless card which uses the orinoco_cs driver. When
    I use a non-alias device ("eth1") instead, it works fine, but I would
    like to get it working with aliases again.

    Also, I might as well unload a couple pet-peeves with this networking
    stuff:

            - I don't understand why the network control cannot use symlinks
              when you are switching profiles, rather than store copies
              of the device settings in 2 permanent locations
              (.../networking/devices and .../networking/profiles) and an
              additional place for the active profile (.../network-scripts).

            - I would like to be able to allow non-root users to change the
              current network profile without needing the root password (in
              general, it would be nice if the auth config stuff could allow
              for sudo-like access rather than requiring the root password).

    If no one has any input, I guess I'll submit these as bugs.

    -- 
    prothonotar at tarnation.dyndns.org
    "Every man is a mob, a chain gang of idiots." 
                               - Jonathan Nolan, /Memento Mori/
      
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Coume - Lubox.com: "Anyone manage to get a PVR350 working under FC2?"

    Relevant Pages

    • Re: 6.0 RC1 dhclient (was Re: 6.0 RC1 usbd.conf (and installation comments))
      ... aliases don't work with dhclient at the moment for ... >> most interfaces because the interfaces generate bogus link events when ... >> aliases are modified. ... we do plan to fix this despite the fact that such ...
      (freebsd-stable)
    • Re: fix for dhclient+aliases
      ... It turns out that my speculation that it was driver ... >> issues was wrong and that dhclient with reacting to the aliases ...
      (freebsd-hackers)
    • Re: fix for dhclient+aliases
      ... > I've got a proposed fix for dhclient interactions with IPv4 ... It turns out that my speculation that it was driver ... > issues was wrong and that dhclient with reacting to the aliases ...
      (freebsd-hackers)
    • Re: fix for dhclient+aliases
      ... Speaking of dhclient and aliases. ... } syntax of dhclient.conf after switching dhclients? ... > turns out that my speculation that it was driver issues was wrong and ...
      (freebsd-hackers)