Linux How to connect my Linux to my college wifi network !

Status
Not open for further replies.

baccilus

Galvanizer
I have not been able to connect to internet through my hostel wifi in Linux(EEEbuntu 2.0 on my EEEPC 1000H. drivers are provided in distro itself), although it connects in windows. The system here is that we have to register our computer's mac addresses afterwhich we can simply connect to the wifi router and browse internet after filling in a proxy and port in the internet options. I have no Idea why they have to do that.

Here is the output of "ipconfig /all" that I did on windows

Code:
Windows IP Configuration

        Host Name . . . . . . . . . . . . : MyMachine

        Primary Dns Suffix  . . . . . . . : 

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . . . . : No

        DNS Suffix Search List. . . . . . : domain.org

Ethernet adapter Local Area Connection:

        Media State . . . . . . . . . . . : Media disconnected

        Description . . . . . . . . . . . : Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller

        Physical Address. . . . . . . . . : 00-23-54-36-b9-20

Ethernet adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . : domain.org

        Description . . . . . . . . . . . : 802.11n Wireless LAN Card

        Physical Address. . . . . . . . . : 00-22-43-26-18-D9

        Dhcp Enabled. . . . . . . . . . . : Yes

        Autoconfiguration Enabled . . . . : Yes

        IP Address. . . . . . . . . . . . : 172.16.43.84

        Subnet Mask . . . . . . . . . . . : 255.255.252.0

        Default Gateway . . . . . . . . . : 172.16.40.1

        DHCP Server . . . . . . . . . . . : 172.16.40.2

        DNS Servers . . . . . . . . . . . : 172.16.40.2

        Lease Obtained. . . . . . . . . . : Friday, January 30, 2009 7:17:28 PM

        Lease Expires . . . . . . . . . . : Saturday, January 31, 2009 1:17:28 AM
 
he mentioned something about filling in a proxy/port... and needs to elaborate on "i have not been able to connect"...

does the wifi card not work at all in linux? can you not get a signal to connect to?

can you try to enter that proxy information into firefox? i dont recall exactly where you would put in proxy info...
 
The drivers are already installed. I get signals too and it even connects to the router all right. But it still doesn't work. I must be putting in some values incorrectly.
I will put in the values of "ifconfig -a' after I finish the current download so that you can analyze the problem a little better.
Thanks in advance.

Code:
eth0      Link encap:Ethernet  HWaddr 00:23:54:36:c8:20  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:220 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7792 (7.7 KB)  TX bytes:7792 (7.7 KB)

pan0      Link encap:Ethernet  HWaddr da:7e:97:34:c4:52  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ra0       Link encap:Ethernet  HWaddr 00:22:43:26:18:cb  
          inet addr:172.16.43.24  Bcast:172.16.43.255  Mask:255.255.252.0
          inet6 addr: fe80::222:43ff:fe26:18cb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2989 errors:0 dropped:0 overruns:0 frame:0
          TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:237655 (237.6 KB)  TX bytes:6851 (6.8 KB)
 
OK your windows wireless card hardware address is showing as "00-22-43-26-18-D9" but in Linux the "ra0" wireless hardware address is "00:22:43:26:18:cb".

So either try to also register this second address with your network if allowed or search online for setting hardware address in Linux network interface. You can do it with the ifconfig command I believe or perhaps module parameters. Google is your friend... :D

edit: something like this: Change your Network Card MAC Address on Ubuntu :: the How-To Geek
 
Who has setup the connection in the college hostel? I suppose it is the college hostel management itself. It's not the students or you, right :S

The proxy and port means that any data transfer has to go through that IP and port. So in the end , it means that they will be able to monitor the traffic and restrict the websites if they need. They will be having logs for each and every site you visit.. So be careful when you take thoooosee sites!!! :P

baccilus said:
I have not been able to connect to internet through my hostel wifi in Linux(EEEbuntu 2.0 on my EEEPC 1000H. drivers are provided in distro itself), although it connects in windows. The system here is that we have to register our computer's mac addresses afterwhich we can simply connect to the wifi router and browse internet after filling in a proxy and port in the internet options. I have no Idea why they have to do that.

Here is the output of "ipconfig /all" that I did on windows
 
vishalrao said:
OK your windows wireless card hardware address is showing as "00-22-43-26-18-D9" but in Linux the "ra0" wireless hardware address is "00:22:43:26:18:cb".

So either try to also register this second address with your network if allowed or search online for setting hardware address in Linux network interface. You can do it with the ifconfig command I believe or perhaps module parameters. Google is your friend... :D

edit: something like this: Change your Network Card MAC Address on Ubuntu :: the How-To Geek
That's not a problem because none of them are my mac address. I have put it in just like that.
@methew: Actually they do monitor each and every site that we try to visit. Infact there are very few sites that we can actually visit. Can't download any media file..
So how do you suggest I can connect my linux box to this setup?
 
So? Anyone has a solution to this? Is there any chance that they have somehow restricted people with Linux systems? I am asking that because I can't connect even on the wired college network inspite of the fact that I have tried to replicate all the settings of the windows. I can even ping the default gateway pretty well but still unable to go online.
 
So no one has a solution to this? In gaming section I usually get a reply within 15 minutes :S

I understand that Networking, especially in Linux is a tricky subject and very few understand it fully. So do you suggest anything to get around this problem? Atleast tell about some forum with more hard core linux networking guys( Absolutely no offence meant. I love all my fellow techenclavians, but have to sort out this problem soon :D )

You know if I can get wifi working on my laptop and also connect linux to internet on the LAN network of my department, I will convert soooo many people to Linux. There are 15 computers in my computer lab, all with pirated windows and infected by viruses. The computer administer has told me so many times to install Linux on them if I can get the Internet to work on them.
 
Would surely have helped you but haven't used wifi till date :( So I have no idea about it :ashamed: Try ubuntuforums.org for much better and accurate help :)
 
Dark Star said:
Would surely have helped you but haven't used wifi till date :( So I have no idea about it :ashamed: Try ubuntuforums.org for much better and accurate help :)
@Darkstar: No problem. You are among the most knowledgeable and helpful linux gurus I know. You can't know everything all by yourself. That's why someone invented tech forums :D
Heading to the Ubuntu forums now.
 
I will try the proxy thing too. I think that may be something preventing me from connecting to the internet atleast on the wired network in my university.
 
Status
Not open for further replies.