LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wireless connection problems. (https://www.linuxquestions.org/questions/linux-newbie-8/wireless-connection-problems-467403/)

PSBP753 07-25-2006 06:34 AM

wireless connection problems.
 
Recently when I sign off of ubuntu and then boot it back the wireless connection will be lost. My brother will reconnect me but then as soon as I need to switch to windows or need to restart or shutdown I lose my connection when I log back in. At first I thought I could just enter a script each time I log in to connect, but my brother says that he has to attempt to connect to multiple ports to get to the right one. Is there any way to fix this problem? Why would ubuntu do this? Also it never use to do this. It just started doing it a couple weeks ago.
Thankyou very much for any help in advance.

PSBP753 07-25-2006 11:07 AM

bump.........

lockpicker 07-25-2006 11:15 AM

Please explain so as to what do you mean by connection getting lost.. The configurations are obvioulsy reverted back to default every time you log off.

And as per your brother what does he mean by attempting to connect to "different ports". there is in my belief no terminology like that as far as establishing a connection is concerned and if he is trying to refer to channels.. They will be using a fixed configuration!

PSBP753 07-25-2006 04:22 PM

Sorry, I meant my internet connection. I don't really know what my brother is talking about I'm not too sure if he knows either(he's still somewhat of a noobie) What I was trying to ask is if there is any way to make permanent connection or if I have to set up the connection each time I log on.
I'm pretty sure it would keep the connection before, but sometimes it would log onto to other wifi points (like the neighbors) and would be alot slower.....I'm sorry I'm very confused.

lockpicker 07-25-2006 10:55 PM

well you can just use a small startup script to keep yourself bound to your access point itself.

just add the script to /etc/rc.local

since i guess you are new to linux so i presume you may not be knowing what could be the startup script

post the following info and i may be able to help you with that!

1. After swithing on your wireless router
iwlist scan
2. iwconfig
3. route

xorian 07-26-2006 12:27 AM

Quote:

Originally Posted by lockpicker
well you can just use a small startup script to keep yourself bound to your access point itself.

just add the script to /etc/rc.local

since i guess you are new to linux so i presume you may not be knowing what could be the startup script

post the following info and i may be able to help you with that!

1. After swithing on your wireless router
iwlist scan
2. iwconfig
3. route

To simplify those a little bit-
1. iwconfig wlan0 essid NETWORKNAME --- wlan0 is usually the default connection name, double check to make sure. network name is the broadcast name of your network ie, campusnet or belkin54g
the next step (assuming you are using dhcp to get your ip)
2. dhclient wlan0 (assuming your distro came with this tool)


All times are GMT -5. The time now is 09:31 PM.