Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless configuration and startup - The Gentoo way (part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 15, 16, 17  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wizard_ct
n00b
n00b


Joined: 08 Dec 2003
Posts: 37

PostPosted: Wed Sep 29, 2004 1:45 am    Post subject: Reply with quote

Using baselayout-1.11.1 wireless is working great with my Prism 2.5 mini-pci card.

However, in addition to the crypt and /etc/profile issues, running emerge reduces my console to approximatly 1/4 the size of my viewable framebuffer screen. Has anyone seen this/have a hack to fix it?

Thanks.
Back to top
View user's profile Send private message
DevSolar
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2004
Posts: 82

PostPosted: Wed Sep 29, 2004 4:39 am    Post subject: Reply with quote

I've seen this happen, too, but that was when I did "make menuconfig"...

I used baselayout 1.11.1 right from the start (i.e., not using 1.9.x first and then updating, but going for 1.11.1 with a fresh install). Two things I noticed where dependencies aren't really "clean":

* it needs sysvinit ~x86 (>=2.84 if I remember correctly);
* during boot, the system complains that it cannot find /bin/cryptsetup.
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Wed Sep 29, 2004 4:50 am    Post subject: Reply with quote

UberLord wrote:
If you're not using ~x86 then you need to add the following to /etc/portage/package.keywords
Code:
=sys-apps/baselayout-1.11.1 ~x86


I have an A64 but it's running the normal x86 distro.

Quote:

=sys-apps/baselayout-1.11.1 ~x86

Quote:

# emerge -av sys-apps/baselayout

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-apps/baselayout-1.9.4-r3 -bootstrap -build -debug -livecd -(selinux) -static -(uclibc) 0 kB


Still not working... :oops:
Back to top
View user's profile Send private message
geekporn
n00b
n00b


Joined: 17 Jan 2004
Posts: 17

PostPosted: Wed Sep 29, 2004 7:07 am    Post subject: Reply with quote

Thanks for this solution... was having a bit of trouble with my wife breathing down my neck to get her wireless connection a bit more automated!
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Sep 29, 2004 9:04 am    Post subject: Reply with quote

Maxwell wrote:
That was what i thought... but today i wasn't working with it. It looks like the problem is with the wireless module load. Yesterday, with ifplgud working, i was getting a kind of error that was related to bad firmware loading. It happened with prior versions of mey drivers. Maybe the problem is elsewhere. Maybe the problem is hotplug. :?:

But i'm tired, i'm going home and tomorrow will be a brand new day...


If the firmware error is reported by the wireless module, then there's a fix for that right at the end of the 60 page thread - the fix isn't in portage yet.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Sep 29, 2004 9:06 am    Post subject: Reply with quote

kamina wrote:

I have an A64 but it's running the normal x86 distro.


I can't help ...... yet
I have AMD64 myself, but haven't got around to installing Gentoo on it yet - mainly due to a lack of an AMD64 HAL for the madwifi driver which I need ...... :(
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 30, 2004 9:25 am    Post subject: Reply with quote

NEW NET-SCRIPTS PACKAGE AVAILABLE

http://rsm.demon.co.uk/~roy/downloads/net-scripts-1.0.2.tar.bz2

Simply put the contents of the archive into /etc to install :)
Or, just replace the /etc/net.modules.d/wireless file with the similar one from the archive

There's a changelog in the archive.
I'm on holiday now for 2 weeks, so if any problems arise then they'll just have to wait :wink:

warning any people using the preferred_only var will have to change to the new associate_order var. See wireless.example for details

An older version net-scripts is included in baselayout-1.11.1 if you're wondering ......
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
RK7
n00b
n00b


Joined: 11 Sep 2004
Posts: 9

PostPosted: Sun Oct 03, 2004 5:58 am    Post subject: Reply with quote

after emerging the masked version of baselayout, i checked my /etc/conf.d directory to see if everything was updated properly, and for some reason there was no net.lo. any ideas what might be going on?

thanks.
_________________
RK.
Back to top
View user's profile Send private message
dyqik
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 120
Location: Oxford, UK

PostPosted: Sun Oct 03, 2004 10:53 am    Post subject: Reply with quote

The ipw2100 disconnecting problem sounds like the same problem I've been having with the 0.11 ipw2200 drivers. (same disconnect after some time, and no dmesg errors). The 0.10 ipw2200 drivers wdidnt have that problem, so maybe an earlier version of the ipw2100 drivers don't either. Try the ipw2100.sf.net mailing list archive for driver support.
Back to top
View user's profile Send private message
doalwa
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2003
Posts: 139
Location: Old Europe

PostPosted: Mon Oct 04, 2004 12:05 am    Post subject: Reply with quote

UberLord, I just wanted to thank you for your great work, I just completed the task of joining my home network with a Dlink dwl-g502+ PCI card using Linuxants driver Loader..everythings working fine, including WEP encryption,thanks to your really cool startup script!

Anyway, you just totally rock, man! :D
_________________
Keepin' the Funk alive since 1983!
Back to top
View user's profile Send private message
yamakawa
Guru
Guru


Joined: 28 Jul 2003
Posts: 340

PostPosted: Wed Oct 06, 2004 8:35 pm    Post subject: Reply with quote

Wow! Brilliant!!!
:D
Back to top
View user's profile Send private message
vicG
n00b
n00b


Joined: 31 Jan 2003
Posts: 21

PostPosted: Wed Oct 06, 2004 11:16 pm    Post subject: Reply with quote

Fool newb here --

Followed the steps verbatim:
mkdir -P /etc/portage

emerge sync

echo "=sys-apps/baselayout-1.11.0" >> /etc/portage/package.unmask

and when I emerged it, it grabbed baselayout 1.9.4.

So I deleted package.unmask, and changed it to

echo "=sys-apps/baselayout-1.11.0 ~x86" >> /etc/portage/package.keywords

(why does this one have to be in package.keywords and the other in package.unmask?)

I then re-ran emerge sync (sorry, but I wanted to follow the instructions exactly), but when I ran emerge -av sys-apps/baselayout again, it still grabbed 1.9.4.

Why am I getting this older version when everyone else is getting 1.11?
Back to top
View user's profile Send private message
oisch
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 130

PostPosted: Thu Oct 07, 2004 2:47 pm    Post subject: Reply with quote

@UberLord: The /etc/conf.d/net.example says that there is a $ESSID global variable that I can use for example in the postup() function.
But this variable doesn't exist. Is this a bug in the current scripts or is it my mistake (I only test for $ESSID without any special tricks).
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Fri Oct 08, 2004 3:40 am    Post subject: Reply with quote

DevSolar wrote:
I've seen this happen, too, but that was when I did "make menuconfig"...

I used baselayout 1.11.1 right from the start (i.e., not using 1.9.x first and then updating, but going for 1.11.1 with a fresh install). Two things I noticed where dependencies aren't really "clean":

* it needs sysvinit ~x86 (>=2.84 if I remember correctly);
* during boot, the system complains that it cannot find /bin/cryptsetup.


any idea on what to do about the cryptsetup issue?
Back to top
View user's profile Send private message
DevSolar
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2004
Posts: 82

PostPosted: Fri Oct 08, 2004 4:33 am    Post subject: Reply with quote

@ vicG:

The packet version is 1.11.1.

mope wrote:
any idea on what to do about the cryptsetup issue?


I found it to be "nonlethal", i.e. got my wireless to work regardless, so I didn't investigate further.
Back to top
View user's profile Send private message
jaycochran
n00b
n00b


Joined: 08 Oct 2004
Posts: 1

PostPosted: Fri Oct 08, 2004 10:54 pm    Post subject: Wireless Interface Starts even though not in /etc/runlevels Reply with quote

For some reason my wireless card starts on system boot even though it is not on in the "default" runlevel

Neither my wired card "eth0" or my wireless card "eth1" are turned on through rc-update. The only network device that should start is "lo0" in the boot level. After the system boots, running /etc/init.d/net.eth1 status shows it started so some where the rc script was kicked off. "eth0" behaves the way it should and is not started.

I'm running baselayout-1.11.1 and everything else works just the way it should be. net.eth0 and net.eth1 are sym linked to net.lo



Code:

/etc/conf.d/net:
ifconfig_eth0=( "dhcp" )
ifconfig_eth1=( "dhcp" )

/etc/conf.d/wireless:
essid_eth1="DaVinci"
key_DaVinci="xxx enc open"

rc-update show | grep net:
            net.eth0 |                               
            net.eth1 |                               
              net.lo | boot                         



Any thoughts?[/code]
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Sat Oct 09, 2004 12:29 pm    Post subject: Reply with quote

Emerging this new and masked baselayout did b0rked some things:
I get several errors at boot that /usr/bin/cryptsetup (or something) doesn't exist, localmount service can't started either.
I did also
Code:

rc-update add net.eth1 default

It is started, but it didn't made any connection to my AP, probably because localmount failed to start :(

/etc/init.d/net.eth1 restart
works fine though

EDIT: I downgraded baselayout, and keept my modded net.eth0 and net.eth1, and now it all works without problems (yeah, wireless config as well)
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
nyda
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 183

PostPosted: Sun Oct 10, 2004 8:55 am    Post subject: Re: Wireless Interface Starts even though not in /etc/runlev Reply with quote

jaycochran wrote:
For some reason my wireless card starts on system boot even though it is not on in the "default" runlevel


Using hotplug? Try adding its modulename to /etc/hotplug/blacklist
Back to top
View user's profile Send private message
jcosters
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 104
Location: Gent, Belgium

PostPosted: Sun Oct 10, 2004 8:25 pm    Post subject: Reply with quote

I have a problem using WEP and an ESSID with '.'s in it:

Code:
root@maertens ~ # /etc/init.d/net.wlan0 start
 * Loading networking modules...
/sbin/runscript.sh: line 122: key_wifi.subnet.domain.net=open s:xxxxxxxxxxxxx: command not found
 *   modules: wireless ifconfig dhcpcd
 *     ifconfig provides interface
 *     dhcpcd provides dhcp                                               [ ok ] *   Configuring wireless network for wlan0
 *   Scanning for access points
 *     no access points found
 * Couldn't find any access points on wlan0
 * Failed to configure wireless for wlan0


Code:
root@maertens ~ # iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:off/any  Nickname:"wifi.subnet.domain.net"
          Mode:Managed  Frequency:2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate=54Mb/s   Tx-Power:24 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-62 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:17  Invalid misc:5001   Missed beacon:0


Connecting to my AP manually using iwconfig works:
Code:
 iwconfig wlan0 essid wifi.subnet.domain.net key s:xxxxxxxxxxxxx open


Code:
root@maertens ~ # iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"wifi.subnet.domain.net"  Nickname:"wifi.subnet.domain.net"
          Mode:Managed  Frequency:2.437GHz  Access Point: 00:0D:88:8C:88:19
          Bit Rate=54Mb/s   Tx-Power:24 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX   Security mode:open
          Power Management:off
          Link Quality:100/100  Signal level:-63 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:17  Invalid misc:5101   Missed beacon:0
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Mon Oct 11, 2004 1:51 pm    Post subject: Reply with quote

wizard_ct wrote:
Using baselayout-1.11.1 wireless is working great with my Prism 2.5 mini-pci card.

However, in addition to the crypt and /etc/profile issues, running emerge reduces my console to approximatly 1/4 the size of my viewable framebuffer screen. Has anyone seen this/have a hack to fix it?

Thanks.


Hey there,

Ever get that 1/4 screen problem fixed. I get it as well. Not really certain how to fix it.

scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
roeles
n00b
n00b


Joined: 10 Mar 2004
Posts: 3

PostPosted: Wed Oct 13, 2004 7:47 am    Post subject: Reply with quote

10 times sorry if this has been posted already, but I did not see it yet in this nor the original thread.

I configured (afaik) correctly, but my wlan card seems to nag a little bit. It's a Sitecom WL-012. I had a successfull attempt at trying to connect to an Ad-Hoc network before, with the 'old' scripts (the wlanctl-ESSID files and such). It connected straight away when plugging in the thingy.
However, I had more and more trouble getting it to connect to my (WEP encrypted) AP. Therefore I got the ~x86 baselayout stuff.
I get this error when running /etc/init.d/net.wlan0 (wich points to net.lo btw):
Code:

 * Loading networking modules...
 *   modules: wireless iproute2 dhcpcd
 *     iproute2 provides interface
 *     dhcpcd provides dhcp                                               [ ok ]
 *   Configuring wireless network for wlan0
 * wlan0 does not support setting the mode to "managed"
 * Failed to configure wireless for wlan0


I don't remember having to set a mode when connecting to Ad-Hoc, but that might just be a coincidence. Does anyone happen to know a fix for this? It does this too when I tell him to go into ad-hoc or master mode, so I am kind of clueless on this...
Back to top
View user's profile Send private message
ralle
Tux's lil' helper
Tux's lil' helper


Joined: 25 Mar 2003
Posts: 144
Location: Aachen, Germany

PostPosted: Wed Oct 13, 2004 9:58 am    Post subject: Reply with quote

concerning the 1/4 screen problem:

I only recognized this as root, so I copied .bash_profile and .bashrc from some user dir to the root dir (I did not have these files before).
Until now the problem has disappeared, but I am not completely sure because it only occured sometimes before, not always.
Back to top
View user's profile Send private message
nyda
Apprentice
Apprentice


Joined: 12 Aug 2004
Posts: 183

PostPosted: Wed Oct 13, 2004 10:09 am    Post subject: Reply with quote

vicG wrote:

...
So I deleted package.unmask, and changed it to
...


:?: :!: :?: :!: :D

package.unmask is used to unmask a masked package. masked packages are usually not intended for common use but testing. You cannot merge masked packages. If masked packages are merged, they will be unmerged during a package or wordupdate. Sometimes packages will be masked after they were stable, possibly because of security issues. Since baselayout is still masked in /usr/portage/profiles/package.mask, you have to unmask it in portage's /etc/portage/package.unmask. (You could also delete the mask from the mask file, but this one is maintained by portage and any changes will be lost on sync).

package.keywords sets the ~xxx keyword for that package, meaning you don't want the stable version but the most recent one, except for package-masked versions.

Using both and not deleting the package.unmask (*hint*) would cause emerge to fetch the most recent, possibly masked version of a package. By deleting the unmask file (which is used to overrride /usr/.../package.mask) you masked your baselayout again. As I said above, masked packages will be downgraded on the next update to that package or the world.

btw, you can use >> to append to a file, i.e. echo media-sound/rhythmbox >> /etc/portage/package.keywords. Using > will overwrite the file leaving it with only the one entry.
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Wed Oct 13, 2004 10:12 am    Post subject: Reply with quote

ralle wrote:
concerning the 1/4 screen problem:

I only recognized this as root, so I copied .bash_profile and .bashrc from some user dir to the root dir (I did not have these files before).
Until now the problem has disappeared, but I am not completely sure because it only occured sometimes before, not always.


Hey there,

thanks for the response. Unfortunately, those are there and the problem still, consistently, remains.

scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
jcosters
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 104
Location: Gent, Belgium

PostPosted: Wed Oct 13, 2004 12:40 pm    Post subject: Reply with quote

Ice-o-lator wrote:
I have a problem using WEP and an ESSID with '.'s in it:

Code:
root@maertens ~ # /etc/init.d/net.wlan0 start
 * Loading networking modules...
/sbin/runscript.sh: line 122: key_wifi.subnet.domain.net=open s:xxxxxxxxxxxxx: command not found
 *   modules: wireless ifconfig dhcpcd
 *     ifconfig provides interface
 *     dhcpcd provides dhcp                                               [ ok ] *   Configuring wireless network for wlan0
 *   Scanning for access points
 *     no access points found
 * Couldn't find any access points on wlan0
 * Failed to configure wireless for wlan0


Code:
root@maertens ~ # iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:off/any  Nickname:"wifi.subnet.domain.net"
          Mode:Managed  Frequency:2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate=54Mb/s   Tx-Power:24 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-62 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:17  Invalid misc:5001   Missed beacon:0


Connecting to my AP manually using iwconfig works:
Code:
 iwconfig wlan0 essid wifi.subnet.domain.net key s:xxxxxxxxxxxxx open


Code:
root@maertens ~ # iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"wifi.subnet.domain.net"  Nickname:"wifi.subnet.domain.net"
          Mode:Managed  Frequency:2.437GHz  Access Point: 00:0D:88:8C:88:19
          Bit Rate=54Mb/s   Tx-Power:24 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX   Security mode:open
          Power Management:off
          Link Quality:100/100  Signal level:-63 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:17  Invalid misc:5101   Missed beacon:0


Hasn't anybody got the same problem?
I read a similar problem ('.'s in ESSID) earlier in this thread, but it was supposed to be fixed ...
It is clearly a problem with the initscript because I can connect to the AP manually with iwconfig.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3, 4 ... 15, 16, 17  Next
Page 3 of 17

 
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