LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-25-2005, 12:50 PM   #16
overpeer
LQ Newbie
 
Registered: Aug 2005
Location: Valencia (Spain)
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0

Hi!

I can't do that wifi interface can be configured at boot

My /etc/sysconfig/network-scripts/ifcfg-wlan0

Code:
DEVICE=wlan0
BOOTPROTO=static
IPADDR="192.168.22.22"
NETMASK="255.255.0.0"
NETWORK="192.168.0.0"
BROADCAST="192.168.255.255"
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ESSID="red-emt-val"
WIRELESS_MODE="Ad-Hoc"
WIRELESS_ENC_KEY="somekey"
TYPE=Wireless
In my /etc/modules.conf and /etc/modprobe.conf

Code:
alias wlan0 zd1211_mod
In my /etc/modules

Code:
zd1211_mod

But, when machine boots ... boots without wireless config:

Code:
wlan0     802.11b/g NIC  ESSID:""
          Mode:Managed  Frequency=2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:1Mb/s
          Retry:off   RTS thr=2432 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:68/92  Signal level:48/154  Noise level:161/154
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
But have the ifconfig of ifcfg-wlan0 ... i dont kwnow whats happens !!!



After i config with iwconfig and runs OK!

Some idea?

A greeting.
 
Old 09-01-2005, 11:22 AM   #17
demurray
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
Have you been able to resolve the wireless up at boot issue ?
If not I would like to suggest placing these commands in the 'rc.local' file. If your DHCP service is not working assign a static IP addreess in the ifcfg-wlan0 file, located "/etc/sysconfig/networking/devices/ifcfg-wlan0 "

ifconfig wlan0 up
dhclient wlan0 (Only if using DHCP)

Let me know the results....
 
Old 09-07-2005, 03:06 AM   #18
regy109
LQ Newbie
 
Registered: Aug 2005
Location: Christchurch, NZ
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
No, still no joy. I got sick of it and gave up for a few weeks.
Adding the "ifconfig wlan0 up" to the /etc/rc.local doesn't seem to make any difference. In fact, that doesn't even work if I log in and do it interactively -- I have to do an "ifup wlan0".
my ifcfg-wlan0 is in /etc/sysconfig/network-scripts, not /etc/sysconfig/networking/devices, but I guess that's just where Mandrake puts such things.
 
Old 09-07-2005, 03:17 AM   #19
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
add the following lines to your ifcg-wlan0 entry (in SUSE it's in etc/sysconfig/network but in mandrake you'll have to find it yourself

DHCLIENT_MODIFY_RESOLV_CONF='yes'
DHCLIENT_SET_DEFAULT_ROUTE='yes'
BOOTPROTO='dhcp'


(assuming you are using a DHCP server --most routers are with an address of 192.168.1.1 or 192.168.0.1)

Cheers

-K
 
Old 09-08-2005, 05:11 AM   #20
regy109
LQ Newbie
 
Registered: Aug 2005
Location: Christchurch, NZ
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Makes no difference.
 
Old 09-08-2005, 04:03 PM   #21
overpeer
LQ Newbie
 
Registered: Aug 2005
Location: Valencia (Spain)
Distribution: Gentoo
Posts: 9

Rep: Reputation: 0
Solution:

Add 'ifup wlan0' at /etc/rc.local

Solution for fuck Ad-hoc network at boot ... force to wished channel with WIRELESS_CHANNEL="10" for example.

Thanks to all
 
Old 10-04-2005, 03:22 AM   #22
regy109
LQ Newbie
 
Registered: Aug 2005
Location: Christchurch, NZ
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
Well yeah I'm not really satisfied with sticking things into rc.local; I have a suspicion services further down the food chain are relying on the successful start up of my wireless lan. Samba for instance?
 
Old 12-29-2005, 03:25 PM   #23
regy109
LQ Newbie
 
Registered: Aug 2005
Location: Christchurch, NZ
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
It's taken a bit of time... but I believe I have now found the solution I was after.
I added ndiswrapper to /etc/modprobe.preload, and suddenly things seemed to work like I wanted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless works.. what now? Sugarat Linux - Wireless Networking 5 09-16-2005 02:58 PM
Wireless works, then fails... djKale Linux - Wireless Networking 1 02-04-2005 03:20 PM
wireless works, cant get online justagirl Linux - Wireless Networking 9 12-15-2004 11:57 PM
RH9 and WinXP_seperate drives dual boot + XP wireless network hardly works anymore? andrewc Linux - General 3 06-17-2004 09:28 AM
I Want A Wireless Card That Works!!!!!! SlackinMonkeee Linux - Laptop and Netbook 20 12-02-2003 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration