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

Goto page Previous  1, 2, 3 ... 56, 57, 58, 59  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
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 09, 2004 6:21 am    Post subject: Reply with quote

Bigbang wrote:

BTW: I can't do echo command and the net-wireless/wireless-config command. I have a x86 arch.


What's the exact command and whats the error?
_________________
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
Bigbang
n00b
n00b


Joined: 24 May 2004
Posts: 29
Location: Quebec

PostPosted: Thu Sep 09, 2004 7:15 pm    Post subject: Reply with quote

Code:
# echo "net-wireless/wireless-config ~x86" >> /etc/portage/package.keywords
bash: /etc/portage/package.keywords: no file or directory of this type

# net-wireless/wireless-config
bash: net-wireless/wireless-config: no file or directory of this type


"/etc/portage" doesn't exist and "net-wireless/wireless-config" is just a directory
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 09, 2004 7:45 pm    Post subject: Reply with quote

Bigbang wrote:
Code:
# echo "net-wireless/wireless-config ~x86" >> /etc/portage/package.keywords
bash: /etc/portage/package.keywords: no file or directory of this type

# net-wireless/wireless-config
bash: net-wireless/wireless-config: no file or directory of this type


"/etc/portage" doesn't exist and "net-wireless/wireless-config" is just a directory


Sorry - my instructions at fault. :oops:
I've corrected them now. :)

Here's what you need todo
Code:

mkdir -p /etc/portage
echo "net-wireless/wireless-config ~x86" >> /etc/portage/package.keywords
emerge -u wireless-config

_________________
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
Vyeperman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Thu Sep 09, 2004 9:25 pm    Post subject: Reply with quote

Could you please fix whatever the issue is, either the ebuild is wrong or your server is down..and I would like to grab the script.
_________________
-Vyeperman
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 09, 2004 9:39 pm    Post subject: Reply with quote

Vyeperman wrote:
Could you please fix whatever the issue is, either the ebuild is wrong or your server is down..and I would like to grab the script.


Looks fine from here
You can always grab the files from http://rsm1.demon.co.uk/~roy/downloads and put them in the right places
_________________
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
Vyeperman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Thu Sep 09, 2004 9:46 pm    Post subject: Reply with quote

Jeez that was a fast reply.....
_________________
-Vyeperman
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 09, 2004 9:55 pm    Post subject: Reply with quote

I aim to please :lol: 8) :D
_________________
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
fel1x
n00b
n00b


Joined: 02 Nov 2003
Posts: 8

PostPosted: Thu Sep 09, 2004 9:58 pm    Post subject: Reply with quote

hey, i have a problem, i can't get the wireless-config to emerge.

I have downloaded the ebuild from your site, i did the ebuild cmd, did the echo in the package.keywords file.

But i can't get it to work :(

example:

wireless-config # emerge net-wireless/wireless-config
Calculating dependencies
!!! all ebuilds that could satisfy "net-wireless/wireless-config" have been masked.

!!! Error calculating dependencies. Please correct.

ACCEPT_KEYWORDS="~x86" emerge net-wireless/wireless-config
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy ">=sys-apps/baselayout-1.8.11".

!!! Error calculating dependencies. Please correct.

thx in advance
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 09, 2004 10:47 pm    Post subject: Reply with quote

fel1x wrote:
# emerge net-wireless/wireless-config
Calculating dependencies
!!! all ebuilds that could satisfy "net-wireless/wireless-config" have been masked.

!!! Error calculating dependencies. Please correct.


Edit the file /etc/portage/package.keywords and ensure you have the following line
Code:
net-wireless/wireless-config ~x86


Quote:

ACCEPT_KEYWORDS="~x86" emerge net-wireless/wireless-config
Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy ">=sys-apps/baselayout-1.8.11".

!!! Error calculating dependencies. Please correct.


The latest baselayout is 1.10.4 - your portage tree must be very old
Try an
Code:
emerge sync
emerge -uaDv world
before installing wireless-config
_________________
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
Bigbang
n00b
n00b


Joined: 24 May 2004
Posts: 29
Location: Quebec

PostPosted: Thu Sep 09, 2004 11:54 pm    Post subject: Reply with quote

UberLord wrote:
Code:

mkdir -p /etc/portage
echo "net-wireless/wireless-config ~x86" >> /etc/portage/package.keywords
emerge -u wireless-config

done, but...

...it still fails at the DHCP line, I'll try without WEP as soon as I can and tell you about it

maybe it's my router because someone did some changes in it recently, but I looked and can't seem to find what could not be working with it

EDIT: It worked without the WEP key, but since I really need to have the WEP key on, I have some more questions:
Code:
key_blainbillard="restricted ##########"

Is this way of writing the WEP key ok (or open)? And what does the channel line do exactly?

~thx for all the support
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 10, 2004 9:30 am    Post subject: Reply with quote

Bigbang wrote:
It worked without the WEP key, but since I really need to have the WEP key on, I have some more questions:
Code:
key_blainbillard="restricted ##########"

Is this way of writing the WEP key ok (or open)? And what does the channel line do exactly?

~thx for all the support


There's examples in /etc/conf.d/wireless.example for setting WEP keys
Also, there's a man page for iwconfig which describes the ways of entering a WEP key. My script use iwconfig
_________________
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
oisch
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 130

PostPosted: Sat Sep 11, 2004 11:11 am    Post subject: Reply with quote

I upgraded to 0.6.2 and it seems that preassociate_ESSID is gone.
Is there a way to use this function again. I used it to set my mac adress via ifconfig, as the acces point only allows specific macs and it's way to complicated to register a new one.

Another question: is there a way to set multiple nameservers? via nameserver_ESSID?

Thanks for this great script. It's getting better every day. The Gentoo devs should really integrate it now.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sat Sep 11, 2004 11:47 am    Post subject: Reply with quote

oisch wrote:
I upgraded to 0.6.2 and it seems that preassociate_ESSID is gone.

Is there a way to use this function again. I used it to set my mac adress via ifconfig, as the acces point only allows specific macs and it's way to complicated to register a new one.

Yes, I removed it. You can run the macchanger program in the preup function in /etc/conf.d/net instead

Obviously this means that you cannot run a specific script per AP, but I don't as yet see a need for this. Besides, I'm not sure it would go into Gentoo with that feature as it stood.

Quote:

Another question: is there a way to set multiple nameservers? via nameserver_ESSID?


Not in the version you have :(
But as it's a good idea and very easy todo, it's going in the next version :)

Quote:

Thanks for this great script. It's getting better every day. The Gentoo devs should really integrate it now.


Oh, I'm hoping that it will be in portage Sometime Soon (tm) 8)
_________________
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
sbastion
n00b
n00b


Joined: 31 Aug 2004
Posts: 20
Location: /home

PostPosted: Sat Sep 11, 2004 10:20 pm    Post subject: Reply with quote

Strange occurence, the wireless script won't recognize my device as having wireless extensions, which it does, then it gets brought up by dhcp anyway, just not using the wireless script. This bugs me, because I keep connecting to my neighbor's wireless if it comes up first.

Code:


# /etc/init.d/net.ra0 start
 * Running preup function
 *   Wireless extensions not found for ra0
 * Bringing ra0 up via DHCP...                                                                                                                               [ ok ]
 * ra0 received address 192.168.0.101
# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

ra0       RT2500 Wireless  ESSID:"Home"
          Mode:Managed  Channel:9  Access Point: 00:0D:88:9F:F5:EF
          Bit Rate:54Mb/s
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality:0/70  Signal level:-169 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:84 errors:0 dropped:0 overruns:0 frame:0
          TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5316 (5.1 Kb)  TX bytes:5316 (5.1 Kb)

ra0       Link encap:Ethernet  HWaddr 00:0C:76:FF:CA:30
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:540 errors:0 dropped:0 overruns:0 carrier:0
          collisions:10 txqueuelen:1000
          RX bytes:906501 (885.2 Kb)  TX bytes:103286 (100.8 Kb)
          Interrupt:11 Base address:0x2000



This also seems to have the effect of making my entire system 'lag'.. each command in a terminal takes about 1 second to be executed. Any ideas?
_________________
Bastion
Back to top
View user's profile Send private message
iverson0881
Apprentice
Apprentice


Joined: 08 Jan 2004
Posts: 285
Location: CA

PostPosted: Sun Sep 12, 2004 12:01 am    Post subject: Reply with quote

sbastion wrote:
Strange occurence, the wireless script won't recognize my device as having wireless extensions, which it does, then it gets brought up by dhcp anyway, just not using the wireless script. This bugs me, because I keep connecting to my neighbor's wireless if it comes up first.


Have you tried setting up Preferred APs in the script's config?

As for UberLord I have a bug or something going nuts somewhere. I had version 0.5.5 and when my PC was booting up it would show that it was connecting to the proper SSID which is Hameed.

But after upgrading to 0.6.2 it says Hameed but with a bunch of random characters trailing. It connects just fine but I'm wondering why these random characters are there.

I have only upgraded the Script when this had occured so it has something to do with your script.

Anyway its not a big deal since it still connects but its something to think about.

Thanks
Back to top
View user's profile Send private message
koolio4
n00b
n00b


Joined: 01 Sep 2004
Posts: 3
Location: florida

PostPosted: Sun Sep 12, 2004 12:03 am    Post subject: Reply with quote

Hey, i m having a bit of trouble settin up my wireless. I ve been readin this thread since the beginning. I have a dell lattidude c640 with a Linksys WPC11 card v3.

The last things that i have done is emerge wireless-config and wireless-tool.

I m using a 2.6.7 r11 kernel, and i do have
Code:
 [*] wireless land drivers ) non-hamradio & wireless extensions


All my device drivers are compiled and installed as modules in the kernel

I dont think i cant start setting up the /etc/conf.d/wireless yet because something seems to be wrong with iwconfig, here is the output

Code:
 iwconfig

eth0 no wireless extensions

lo     no wireless extensions

eth1 no wireless extensions


at boot time, everything almost seems to be checkin out ok

Code:
 pcmcia support detected
starting pcmcia
cardmgr[4973] watching 2 sockets
cardmgr[4973] starting, version is 3.2.5
cardmgr[4973] socket 0, linksys WPC11 11mbps 802.11b wlan card
cardmgr[4973] executing: ' ./network start eth1 "
cardmgr[4973] + ./ network: line 28 /etc/init.d/net.eth1 : no such file or directory
cardmgr[4973] start cmd exited with status 127                                  [ok]

bringing up eth0 via dhcp ...                                                              [ok]
    eth0 revieve 192.168.1.112
...


The lights on the card light up, and it has never frozen. So i m not sure what to do now, any leads would help


thanks.
Back to top
View user's profile Send private message
sbastion
n00b
n00b


Joined: 31 Aug 2004
Posts: 20
Location: /home

PostPosted: Sun Sep 12, 2004 12:32 am    Post subject: Reply with quote

Quote:
Have you tried setting up Preferred APs in the script's config?


Yup. I'd quote you the script, but I'm running on Windows till I get this wireless thing straightened out.


Koolio, I'm not to familiar with pcmcia.. but it looks like /etc/init.d/net.eth1 can't be found. Check to see if it's there, and if it isn't:

Code:
ln -s /etc/init.d/net.eth0 /etc/init.d/net.eth1

_________________
Bastion
Back to top
View user's profile Send private message
koolio4
n00b
n00b


Joined: 01 Sep 2004
Posts: 3
Location: florida

PostPosted: Sun Sep 12, 2004 8:09 am    Post subject: Reply with quote

thx sbastion, i saw that i forgot to create that. i figured since ifconfig eth1 was already showing the card, i didnt have to so i didnt bother to check. Anyway i did it, and edited /etc/conf.d/net.

The funny thing is, the wireless now works, i m actually on it but i really havent event edited the /etc/conf.d/wireless.example so i havent even created /etc/conf.d/wireless.

After doing
Code:
 ln -s /etc/init.d/net.eth0 /etc/init.d/net.eth1

all i did was edit /etc/conf.d/net, and uncommented iface_eth1, and gave it the proper ip address used on my router ( i use static ip addressing at home for security i got a quite a few computers so its easier for me like that), and set up the gateway, and rebooted, and it picked it up when i rebooted. I didnt know it could work like that, the funny thing is i didnt even notice cause i was about to run ping, and the ethernet cable got unplugged, so i went ahead with it just out of curiosity to see what output it would give, and to my surprise, nothing. its just responded back within 2 seconds. I m guessing it would work too if i just changed it do dhcp. So since its working, i m wondering if i still need the scripts and the wireless tools that i emerged earlier since i havent edited them yet ?

here is my /etc/conf.d/net

Code:


# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/1$

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#

#wireless card static ip address
iface_eth1="192.168.1.9 broadcast 192.168.1.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#

#ethernet card info (temp dhcp)
iface_eth0="dhcp"
dhcpcd_eth0="-N"

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB:  The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly.  Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#wireless router gateway
 gateway="eth1/192.168.1.1"



My wireless.example is still unedited, so i figured i wouldnt touch that til i can figure out why its actually working.

here is my if config output ( notice how eth1 is detected as ethernet, but i m still gettin constant wireless signal but still gives me the mac address of the wireless card )

Code:


genlap root # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:08:74:98:77:A3
          inet addr:192.168.1.112  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:8
          collisions:0 txqueuelen:1000
          RX bytes:1890 (1.8 Kb)  TX bytes:6550 (6.3 Kb)
          Interrupt:11 Base address:0xec80

eth1      Link encap:Ethernet  HWaddr 00:06:25:AC:B1:0D      ***wireless card mac***
          inet addr:192.168.1.9  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3562 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1573 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3309923 (3.1 Mb)  TX bytes:239545 (233.9 Kb)
          Interrupt:3 Base address:0x100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:300 (300.0 b)  TX bytes:300 (300.0 b)


here is iwconfig

Code:

genlap root # iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

eth1      no wireless extensions.



Now all this said, my other question is to find out if i could set up another interface such as eth2 and make it dhcp for school. The school network uses a wireless dhcp server, so is it possible to do so that when gentoo loads lets say when i m at school, it ll pick up the dhcp server and bring up eth2, and keep eth1 static for my home wireless, and disable all netorking device from boot, and enable them manually depending if i m home (wireless eth1), at schoo (possible eth2), or using the ethernet cable directly from the router at home (cable eth0) ?

or could i just do something like this instead

Code:

iface_eth1="192.168.1.9 broadcast 192.168.1.255 netmask 255.255.255.0"
gateway="eth1/192.168.1.1"
#iface_eth1="dhcp"
#dhcpcd_eth0="-N"

and then once i get to school and need dhcp just edit and have this

#iface_eth1="192.168.1.9 broadcast 192.168.1.255 netmask 255.255.255.0"
#gateway="eth1/192.168.1.1"
iface_eth1="dhcp"
dhcpcd_eth1="-N"




thanks for the help guys, any leads, comments or questions are welcomed.
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 Sep 12, 2004 9:18 am    Post subject: Reply with quote

Wireless config will just work if you have an AP broadcasting it's ESSID, and without WEP enabled. The wireless config example is pretty clear as well.

If you just copy wireless.example to wireless, and edit the copy, you can always get back to your currently working settings by deleting wireless.

Your current setup will allow anyone to connect and monitor your internet traffic, so you should change it to enable WEP. The wireless config allows static ips for certain networks, and dynamic for others, so there's no need to create an eth2.
Back to top
View user's profile Send private message
sbastion
n00b
n00b


Joined: 31 Aug 2004
Posts: 20
Location: /home

PostPosted: Sun Sep 12, 2004 9:42 am    Post subject: Reply with quote

koolio: I'm actually surprised your wireless link works. Even tho neither the wireless tools, nor the script provided in this forum are necessary for wireless connectivity to work, I figured wireless extensions -were- needed. But, that being said, no, you don't need this script or the wireless tools, tho I would strongly recommend the wireless tools, as they will at least allow you to manually control essid/wep keys as necessary. Now, I would also suggest this script, as it allows you to preset the otherwise manual settings you would have to go through each time. So in the case of home/school, you can set per-essid rules, dhcp for school, static ip/gateway for home. However, you will probably run into a problem: even tho your wireiess is working, it's registering as having no wireless extensions by iwconfig. This means that this script will probably not recognize eth1 as a wireless device, thus not enable itself on that device (basically the same problem I have, tho my iwconfig does register my device as having wireless extensions). This is as far as my knowledge of linux and the way this script works goes. Mr. Uber Lord may have better suggestions/ideas, so you may want to wait until he is able to respond before making any decisions :) . Hmm.. now that I think about it.. try this, and let me know if it still says no wireless extensions are found:
Code:
ifconfig eth1 up
iwconfig


-

In the mean time, I'm still having the same problem as posted earlier, and would appreciate any help :) .
_________________
Bastion
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Sun Sep 12, 2004 11:56 am    Post subject: Reply with quote

Hi - I've written in this thread before but I never got the problem resolved :(

I'm not sure if it's a dependency problem in the init-scripts or what..

What happens is that, when the wireless if is started, it also insists on starting net.eth0 :( (which is crap as that gets started last - overwriting my default gw - and thus means I can't get past my own subnet, until I down the eth0 again and fix the problem).

# /etc/init.d/net.wlan0 restart
* Unmounting network filesystems... [ ok ]
* Running predown function
* Removing wireless configuration from wlan0... [ ok ]
* Bringing wlan0 down
* Removing inet6 addresses
* wlan0 inet6 del fe80::205:3cff:fe09:d5c5/64... [ ok ]
* Releasing DHCP lease for wlan0... [ ok ]
* Stopping wlan0... [ ok ]
* Running preup function
* Configuring wireless network for wlan0
* wlan0 connected as "MYWLAN"
* in ad-hoc mode on channel 06 (WEP enabled)
* Bringing wlan0 up via DHCP... [ ok ]
* wlan0 received address 10.4.50.101
* Running preup function
* Wireless extensions not found for eth0
* Bringing eth0 up (192.168.50.101)... [ ok ]
* Setting default gateway (192.168.50.1)... [ ok ]
* Mounting network filesystems...

REALLY annoying :( - any ideas what is wrong here? I was hoping it would be resolved in later baselayouts - but running baselayout-1.9.4-r3 and still it does this :(
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
koolio4
n00b
n00b


Joined: 01 Sep 2004
Posts: 3
Location: florida

PostPosted: Sun Sep 12, 2004 7:17 pm    Post subject: Reply with quote

dyqik wrote:
Wireless config will just work if you have an AP broadcasting it's ESSID, and without WEP enabled. The wireless config example is pretty clear as well.

If you just copy wireless.example to wireless, and edit the copy, you can always get back to your currently working settings by deleting wireless.

Your current setup will allow anyone to connect and monitor your internet traffic, so you should change it to enable WEP. The wireless config allows static ips for certain networks, and dynamic for others, so there's no need to create an eth2.


i see what you are saying, i will eventually get that done, but so far, i dont have any network problems, as i have restricted my wireless broadcats on the router settings to only 5 specific mac addresses, and only allow the exact range of ip addresses ( with the amount of computers i got )allowed to connected to the rest of the network. I i got 3 in my room directly into the router, then my router on wireless and my roomatas on the wireless also. I ve gone to 2 of my neighgbors ' places and tried to connected to my network and was unable to connect. I have 5 static ips that can connect, plus all mac addresses put in restriction. So far i havent had any breaches as i constantly monitor if anything but my computers are connected andi havent seen anyting able to conected I think mac address restriction is also another form of security. what do u guys think ?

Altho i still dont undersand why the iwconfig output returns no wireless extentions, my kernel is up to date, baselayout is installed, and so is wireless tools as well as wireless tools, i mean i ve done everything ( i think ) so if anyone can give me a hand on that, its be good.

thx
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Sep 12, 2004 7:26 pm    Post subject: Reply with quote

sbastion wrote:
Strange occurence, the wireless script won't recognize my device as having wireless extensions, which it does, then it gets brought up by dhcp anyway, just not using the wireless script. This bugs me, because I keep connecting to my neighbor's wireless if it comes up first.

....

This also seems to have the effect of making my entire system 'lag'.. each command in a terminal takes about 1 second to be executed. Any ideas?


Sounds like a driver/kernel/hardware problem. Could you post the relevant parts of dmesg and/or /var/log/messages? Obviosuly not the whole stuff - just stuff relating to either firmware or ra

EDIT - If wireless extensions come up after ifconfig ra0 up, edit /etc/init.d/wireless.sh and look for the wireless_pre_start function right near the end of the file. Then add "interface_up ${iface}" on a new line just before wireless_check_extensions

Post back with your results :)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool


Last edited by UberLord on Sun Sep 12, 2004 7:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Sep 12, 2004 7:30 pm    Post subject: Reply with quote

iverson0881 wrote:

But after upgrading to 0.6.2 it says Hameed but with a bunch of random characters trailing. It connects just fine but I'm wondering why these random characters are there.


It's either a problem with your driver or wireless-tools. I changed that bit of code to use iwget -r instead if trying to parse the iwconfig output. When wireless tools matures, I'll be using more of iwgetid - the current version in ~x86 supports more stuff like working out the channel.

However, it is buggy (wireless tools or your driver). My madwifi card had a similar issue until I upgraded the drivers.
_________________
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: Sun Sep 12, 2004 7:46 pm    Post subject: Reply with quote

Klavs wrote:
Hi - I've written in this thread before but I never got the problem resolved :(

I'm not sure if it's a dependency problem in the init-scripts or what..

What happens is that, when the wireless if is started, it also insists on starting net.eth0 :( (which is crap as that gets started last - overwriting my default gw - and thus means I can't get past my own subnet, until I down the eth0 again and fix the problem).

# /etc/init.d/net.wlan0 restart
* Unmounting network filesystems... [ ok ]
* Running predown function
* Removing wireless configuration from wlan0... [ ok ]
* Bringing wlan0 down
* Removing inet6 addresses
* wlan0 inet6 del fe80::205:3cff:fe09:d5c5/64... [ ok ]
* Releasing DHCP lease for wlan0... [ ok ]
* Stopping wlan0... [ ok ]
* Running preup function
* Configuring wireless network for wlan0
* wlan0 connected as "MYWLAN"
* in ad-hoc mode on channel 06 (WEP enabled)
* Bringing wlan0 up via DHCP... [ ok ]
* wlan0 received address 10.4.50.101
* Running preup function
* Wireless extensions not found for eth0
* Bringing eth0 up (192.168.50.101)... [ ok ]
* Setting default gateway (192.168.50.1)... [ ok ]
* Mounting network filesystems...

REALLY annoying :( - any ideas what is wrong here? I was hoping it would be resolved in later baselayouts - but running baselayout-1.9.4-r3 and still it does this :(


If you're feeling brave, checkout http://rsm1.demon.co.uk/~roy/downloads and look at the latest net-scripts package

Expand the compressed archive into /etc and re-link all scripts to /etc/init.d/net.lo
This is a complete networks scripts package that supports wireless, 2 types of interface package and 4 dhcp clients - and a few other things.
_________________
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
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 ... 56, 57, 58, 59  Next
Page 57 of 59

 
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