Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth1 fails to start [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Sat May 10, 2008 9:36 am    Post subject: net.eth1 fails to start [solved] Reply with quote

Using gentoo-sources-2.6.25-r2. I decided to give the new iwlwifi drivers a try. The relevant parts of my kernel configuration.

Code:

Networking->
        Wireless->
                                              {M} Improved wireless configuration API                                                                           
                                               [*]   nl80211 new netlink interface support                                                                         
                                               -*- Wireless extensions                                                                                           
                                              <M> Generic IEEE 802.11 Networking Stack (mac80211)                                             
                                               Rate control algorithm selection  --->
                                                                   Default rate control algorithm (PID controller based rate control algorithm)  --->                             
                                                                   *** Selecting 'y' for an algorithm will ***                                                               
                                                                   *** build the algorithm into mac80211. ***                                                                     
                                                                   -*- PID controller based rate control algorithm                                                                     
                                                                   < > Simple rate control algorithm (DEPRECATED)                                                                     
                                                                                                                     
                                               [ ]   Export mac80211 internals in DebugFS                                                                 
                                               [ ]   Enable packet alignment debugging                                                                       
                                               [ ]   Enable debugging output                                                                                     
                                               < > Generic IEEE 802.11 Networking Stack (DEPRECATED) 



Code:

Device Drivers->
           Network Device Drivers->
                                   Wireless LAN->
                                                [ ] Wireless LAN (pre-802.11)                                                                                       
                                                [*] Wireless LAN (IEEE 802.11)                                                                                       
                                               < >   Aviator/Raytheon 2.4MHz wireless support                                                               
                                               < >   Intel PRO/Wireless 2100 Network Connection                                                           
                                               < >   Intel PRO/Wireless 2200BG and 2915ABG Network Connection                               
                                               < >   Marvell 8xxx Libertas WLAN driver support                                                                     
                                               < >   Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards                                                       
                                               < >   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)                                               
                                               < >   Atmel at76c50x chipset  802.11b support                                                                         
                                               < >   Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards                                                             
                                               < >   Planet WL3501 PCMCIA cards                                                                                   
                                               < >   Intersil Prism GT/Duette/Indigo PCI/Cardbus                                                               
                                               < >   USB ZD1201 based Wireless device support                                                                 
                                               < >   Wireless RNDIS USB support                                                                                     
                                               < >   Realtek 8180/8185 PCI support                                                                                 
                                               < >   Realtek 8187 USB support                                                                                       
                                               < >   ADMtek ADM8211 support                                                                                       
                                               < >   Softmac Prism54 support                                                                                       
                                               < >   Atheros 5xxx wireless cards support                                                                       
                                               < >   Intel Wireless WiFi 4965AGN                                                                                   
                                               <M>   Intel PRO/Wireless 3945ABG/BG Network Connection                                             
                                               [*]     Enable Wireless QoS in iwl3945 driver                                                                   
                                               [ ]     Enable Spectrum Measurement in iwl3945 drivers                                                   
                                               [ ]     Enable full debugging output in iwl3945 driver                                                         
                                               < >   IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)                                   
                                               < >   Broadcom 43xx wireless support (mac80211 stack)                                                 
                                               < >   Broadcom 43xx-legacy wireless support (mac80211 stack)                                       
                                               < >   ZyDAS ZD1211/ZD1211B USB-wireless support                                                         
                                               < >   Ralink driver support                                                                                           


then I created a link from net.lo to net.eth1 and loaded the required modules:
Code:

ln -s /etc/init.d/net.lo /etc/init.d/net.eth1
modprobe mac80211
mac iwl3945


Then I started net.eth1 and got the following error:
Code:

wall rahul # /etc/init.d/net.eth1 start
 * Bringing up interface eth1
 *   ERROR: interface eth1 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.eth1 failed to start


So, please tell me what is going wrong.
_________________
Who shall guard the guards?


Last edited by rahulthewall on Mon May 12, 2008 2:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
marrowhk
Apprentice
Apprentice


Joined: 25 Jul 2007
Posts: 250

PostPosted: Sat May 10, 2008 10:33 am    Post subject: Reply with quote

:!:
_________________
You'll always come back to GENTOOOOOOO ! (Trust me...)


Last edited by marrowhk on Sun May 11, 2008 1:50 am; edited 1 time in total
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Sat May 10, 2008 12:18 pm    Post subject: Reply with quote

Yes, I am. However, it might be of interest to note, that when I compile my kernel, I get the following warnings.
Code:
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_wx_get_encodeext
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_wx_set_encode
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_wx_get_encode
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_txb_free
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_wx_set_encodeext
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_wx_get_scan
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol escape_essid
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_freq_to_channel
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_set_geo
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_rx
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_get_channel
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_channel_to_index
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_rx_mgt
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_get_geo
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol free_ieee80211
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_tx_frame
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_is_valid_channel
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol ieee80211_get_channel_flags
WARNING: /lib/modules/2.6.25-gentoo-r2/net/wireless/ipw3945.ko needs unknown symbol alloc_ieee80211


So, maybe someone can point out what the error is.

Oh, and I do not think that the error is specific to iwl3945 because when I switched to ipw3945 I was getting the same error.
And I am using the testing branch of gentoo.
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
marrowhk
Apprentice
Apprentice


Joined: 25 Jul 2007
Posts: 250

PostPosted: Sat May 10, 2008 5:25 pm    Post subject: Reply with quote

:!:
_________________
You'll always come back to GENTOOOOOOO ! (Trust me...)


Last edited by marrowhk on Sun May 11, 2008 1:50 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54858
Location: 56N 3W

PostPosted: Sat May 10, 2008 5:50 pm    Post subject: Reply with quote

rahulthewall3000,

Your
Code:
needs unknown symbol
errors indicate your kernel is not configured properly.
The ieee80211 option is missing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Sat May 10, 2008 10:17 pm    Post subject: Reply with quote

Well, I have the IEEE 802.11 (mac80211) stack enabled, do I also need the IEEE 802.11 deprecated stack enabled? I thought mac80211 replaces that.
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54858
Location: 56N 3W

PostPosted: Sat May 10, 2008 10:55 pm    Post subject: Reply with quote

rahulthewall3000,

Its safe to enable both. Not everything has moved yet
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rahulthewall
Veteran
Veteran


Joined: 01 Nov 2007
Posts: 1264
Location: Zürich

PostPosted: Mon May 12, 2008 2:12 pm    Post subject: Reply with quote

Thanks NeddySeagoon, that removes the compile warnings. And net.eth1 did not start, because the interface existed and was called net.wlan0. So, it seems that all is working now. Thanks everyone.
_________________
Who shall guard the guards?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum