Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Wireless config using SSID/MAC in conf.d/net

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
Quincy
Apprentice
Apprentice
User avatar
Posts: 203
Joined: Thu Jun 02, 2005 12:28 pm
Location: Germany

Wireless config using SSID/MAC in conf.d/net

  • Quote

Post by Quincy » Sun Dec 08, 2013 2:55 pm

I have a WLAN which has a hidden SSID (let's call it "MYWLAN"). Therefore I'm configuring networks via the following entries in /etc/conf.d/net using the SSID and a mapping of (AP-)MAC to SSID:

Code: Select all

key_MYWLAN="0123456 enc open"
config_MYWLAN="192.168.1.32 netmask 255.255.255.0 brd 192.168.1.255"
routes_MYWLAN="default gw 192.168.1.1"
dns_servers_MYWLAN="192.168.1.1"
mac_essid_00112233AABB="MYWLAN"
This worked on two laptops configured in the same way without any problems until some days ago (perhaps upgrading to openrc 0.12.4 is an issue). One of them now has the issue that while starting wlan0 there is the following message:

Code: Select all

/etc/init.d/net.wlan0[3294]: No configuration specified; defaulting to DHCP
Because there is no DHCP server no proper IP gets assigned to the device. I tried to copy the whole config again, but did not change anything. Also unhiding the SSID or configuring with MAC address directly ("config_00112233AABB") is not recognized as configuration. Only configuring with config_wlan0="192.168.1.32 netmask 255.255.255.0 brd 192.168.1.255" is recognized. On the other system there is no such problem and mapping MAC to SSID works properly.

I'm not aware of any big differences between the systems except that they have different WLAN cards and therefore drivers. The still working one has a Intel 5100 which uses iwlwifi, the one not working anymore has a Broadcom 4312 using b43 as kernel module.

I'm looking forward to some helpful comments as I'm using different wireless networks and at the moment I have to change the config while switching between them.
Top
Post Reply
1 post • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic