View previous topic :: View next topic |
Author |
Message |
rawbeefman Guru
Joined: 25 Mar 2005 Posts: 375
|
Posted: Mon Dec 17, 2007 11:23 pm Post subject: final step to have perfect wireless |
|
|
I have been working on a wireless problem for a while. I have found others with the same problem, but all have abandoned it.
I am using a wusb54g v4. ralink chipset with ndiswrapper.
I can connect with iwconfig wlan0 essid Roseland, iwconfig wlan0 key boobies, dhcpcd wlan0.
But, when I link net.lo to net.wlan0, I cannot start the service.
Everything looks good until it reaches
Quote: | Connecting to "Roseland" in managed mode (WEP Disabled) .... [!!]
Failed to configure wireless for wlan0 [!!] |
I can write a script to load everything in local, but I need to do it this way otherwise my mythbackend will screw up.
I feel bad about posting about wireless, but I have gone over the gentoo wireless and I have searched for HOURS on the forums and google. Any helpers would be amazing.
from conf.d/net:
Quote: | modules_wlan0=("iwconfig")
config_wlan0=("dhcp")
mode_wlan0=("managed")
essid_wlan0=("Roseland")
key_wlan0="s:2483984352 enc open" |
I am trying to connect WEP, but it worries me when it says WEP disabled. Kernel problem?
Thanks,
- Ehren
[UPDATE]: Apparently, now it only stays connected for 2 or 3 minutes. At one time, it was perfect. |
|
Back to top |
|
|
JeanValjean n00b
Joined: 27 Aug 2007 Posts: 61
|
Posted: Tue Dec 18, 2007 1:37 am Post subject: |
|
|
Why not write your own Init Script?
I wrote a similiar script but it seems it was missing an element.
Sure hope this does the trick.
Code: | #!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Initiate built-in ethernet card on iBook
depend() {
need localmount
after bootmisc hostname
use isapnp isdn pcmcia usb wlan
}
start() {
ebegin "Starting eth0"
ifconfig eth0 up <YOUR IP>
route add -net <NETWORK IP>.0 netmask 255.255.254.0 dev eth0
route add default gw <GATEWAY IP>.1
}
stop() {
ebegin "Stopping eth0"
route del -net <NETWORK IP> netmask 255.255.254.0 dev eth0
route del default gw <GATEWAY>.1
ifconfig eth0 down
} |
|
|
Back to top |
|
|
rawbeefman Guru
Joined: 25 Mar 2005 Posts: 375
|
Posted: Tue Dec 18, 2007 1:47 am Post subject: |
|
|
Tried that, and it works nicely. Mine's a little simpler that what you have, and it utilizes the local init script, but it messes with myth. I will try yours and let you know how it works out for me.
Thank you very much.
- Ehren
EDIT: Go everything up and running. Turns out it did not mess up myth, except that the wireless network doesn't load before myth so I get an error, which I can live with. Thanks a ton! |
|
Back to top |
|
|
|
|
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
|
|