LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-27-2008, 11:14 AM   #1
Delta_X
LQ Newbie
 
Registered: Oct 2008
Posts: 20

Rep: Reputation: 1
Trouble connecting to wifi with a password protected accesspoint; Debian


I can connect to my WiFi at home just fine on my Debian laptop. I just edit /etc/network/interfaces and change wireless-essid home network but at school the wifi has a password to access it. So I say wireless-essid ASD5 but how do I put the password in the interfaces file?
 
Old 10-27-2008, 11:25 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
My interfaces file looks like this:
Code:
auto lo
iface lo inet loopback


auto eth1
iface eth1 inet static
broadcast 192.168.0.255
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
wpa-passphrase mysecurepassphrase
wpa-ssid MyAPsName
wireless-channel 11
Notes: 192.168.0.1 is the address of my router, and its wireless is on Channel 11.
I have wpasupplicant installed.

If you want a DHCP lease try this:
Code:
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp
wpa-passphrase mysecurepassphrase
wpa-ssid MyAPsName
wireless-channel 11
And welcome to LQ!
 
Old 10-27-2008, 06:00 PM   #3
Delta_X
LQ Newbie
 
Registered: Oct 2008
Posts: 20

Original Poster
Rep: Reputation: 1
Thanks. I'll drive by the school in a few minutes and try this out.
 
Old 10-28-2008, 12:22 AM   #4
Delta_X
LQ Newbie
 
Registered: Oct 2008
Posts: 20

Original Poster
Rep: Reputation: 1
no luck with that. Try to ping google and I get unknown hostname. I wonder if it's giving me an ip and just not connecting to DNS. Any other ideas on how to connect? I have wireless-tools installed. It'sjust a password for the network I don't think the transmission is encrypted.
 
Old 10-28-2008, 06:10 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Please post your interfaces file.
 
Old 10-28-2008, 09:28 AM   #6
Delta_X
LQ Newbie
 
Registered: Oct 2008
Posts: 20

Original Poster
Rep: Reputation: 1
# Loopback Interface
auto lo
iface lo inet loopback

# Ethernet port
allow-hotplug eth0
iface eth0 inet dhcp

# Netgear WG511v2 PC Card
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid ASD5
 
Old 10-28-2008, 01:35 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
OK.

I think you now need to get in touch with the school's network admin, and ask them what encryption (Eg WEP, WPA WPA2) they are using, and what the passphrase is. Tell us this information, and we can then help you set it up.

If the wireless is unencrypted, you can normally get a dhcp lease (as in your interfaces file in post #6) but then you may need to open your browser, and you may then get a login page which will ask for the network's password. You should check these details with the network's admin.
 
  


Reply



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
Can't Connect to WEP Protected WiFi ? nuro305 SUSE / openSUSE 4 06-16-2008 08:17 AM
Password protected network... spaceballs Linux - Wireless Networking 3 01-11-2008 06:36 PM
Does all wifi traffic go through the AccessPoint? Carroarmato0 Linux - Wireless Networking 2 09-24-2006 12:45 PM
Password Protected Compression nutthick Linux - General 4 06-01-2006 06:56 AM
Password protected Apache ne21 Linux - Software 5 07-30-2004 01:08 AM

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

All times are GMT -5. The time now is 01:10 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