Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

[HOWTO] Linux + Tcd Wireless

  • 17-11-2006 3:15pm
    #1
    Closed Accounts Posts: 191 ✭✭


    Hello all!

    Just thought I'd share my method for accessing the Trinity Wireless network using Linux. I've come across a bunch of people who've tried it, so I think that this should be useful for a bunch of people. I'm a Gentoo user - so I'll be referring to the config files as laid out in Gentoo - adapt this for your own distro - and post up the differences! (I'd say that Ubuntu/Debian is probably going to be the most popular, so that'd be appreciated if you get it to work). Oh, and I'm assuming that you're doing this as root - if not, "sudo" everything. Also: <this> means you type whatever values you've been given, without the "<>" characters eg. <your-IP> should be replaced with 134.111.111.111 (not that that address will work... )

    Another point: This is a very bare bones solution - do this before you try it with a fancy gui.

    First things first:
    - Register your MAC address with isservices. Say you're using Linux, and they'll send you an IP address.

    - Get your wireless card up and running. (If you've built your kernel, make sure that it's appearing in ifconfig). Mine appears as eth1, so replace that with whatever yours appears as in the following commands (common entries are wlanX or athX, depending on what driver you're using)

    - Install iwconfig and wpa_supplicant (emerge -av wireless-tools wpa_supplicant in Gentoo)
    modules=( "wpa_supplicant" )
    wpa_supplicant_eth1="-D<your-wpa_supplicant-driver-here>"

    config_eth1="<your-IP-address-here> netmask 225.225.0.0 broadcast 134.226.255.255"

    routes_eth1=(
    "default via 134.226.101.2"
    )

    dns_servers_eth1=(
    134.226.1.24
    134.226.1.114
    134.226.1.28
    )

    -Add the following to your wpa_supplicant.conf

    network={
    ssid="tcdopencampus"
    key_mgmt=IEEE8021X
    eap=LEAP
    identity="<your-username-here>"
    password="<your-password-here>"
    }


    Then, write a script (trinitywireless)
    /etc/init.d/net.eth1 stop
    /etc/init.d/net.eth1 start
    iwconfig eth1 essid tcdopencampus
    sleep 5
    route add default gw 134.226.101.2
    (Change /etc/init.d/net.ethX to wherever your init scripts are.)

    -> The 5-second timeout should give the card time to connect to a node - alter as it affects you.

    - chmod +x trinitynetwork
    - ./trinitynetwork
    - Pray, then open up your web-browser! :D
    (You'll need the proxy information in the config as well - in Firefox, set Auto Proxy Config to http://www.tcd.ie/proxy.cgi and hit Reload)

    - To get the proxy working from the command-line, run
    export http_proxy="http://<your-username>:<your-password>@tcdproxy.tcd.ie:8080&quot;
    export ftp_proxy="ftp://<your-username>:<your-password>@tcdproxy.tcd.ie:8080&quot;


    Good Luck! Oh, and I take no responsibility, and won't know how to get it working on your Suse install etc.

    Was this any use? 4 votes

    Yes - Thanks!
    0% 0 votes
    Yes - but only after a lot off messing around, since I'm on a different distro
    50% 2 votes
    No - Had it working already; and better, too!
    25% 1 vote
    No - Didn't work... :(
    25% 1 vote
    No - I'm a (filthy) Windows user.
    0% 0 votes


Comments

  • Closed Accounts Posts: 2,279 ✭✭✭DemonOfTheFall


    I said no, because I'm a filthy Windows user but I know that htis will be helpful to a lot of people in my course


  • Posts: 5,589 ✭✭✭ [Deleted User]


    Looks like filthy windows users are kicking ASS!

    Go GUI!


  • Registered Users, Registered Users 2 Posts: 7,110 ✭✭✭Thirdfox


    It seems that the we must bow down to the Windows overlord...

    Though I am using Openoffice and Firefox/Thunderbird... do I get brownie points for that?


  • Closed Accounts Posts: 191 ✭✭Jim_No.6


    I said no, because I'm a filthy Windows user but I know that htis will be helpful to a lot of people in my course

    You'd be CS, right? ;)

    Well, that's why I posted it up - once you've confirmed that all these components are functional you can start looking for a nice gui for a click-and-connect kind of interface. It's just a good idea to get the basics functional (kernel-driver, wpa_supplicant config etc) before you try that. Try kwifimanager, but I'm sure that there's some gnome equivalent.

    Oh, and I'm not at all surprised that there are far more MS-heads here; but I know that I'd have been very grateful for a post like this at this point last year, so if I get one vote (aside from mine, so I could see the results) I'll be happy.

    Edit: whoops - that's kwifimanager, not kwirelessmanager (ammended)


  • Registered Users, Registered Users 2 Posts: 1,389 ✭✭✭cianclarke


    Yeah, the majority of laptops in JF CS are running linux.
    Me, I like my cross compatibility. Maria, if you read this, now would be a good time to post pictures of pengiuns.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    majority of the sys admins in college i know are all running OS X(while alot of them admin linux servers...very few really want it on their laptops if given a choice...)


  • Moderators, Education Moderators, Music Moderators Posts: 10,686 Mod ✭✭✭✭melekalikimaka


    1-web.jpg


  • Closed Accounts Posts: 33 estilos


    ManyEmperors.jpg

    Happy?


  • Closed Accounts Posts: 91 ✭✭osd


    Send your HOWTO to ISS!! It's bloody fantastic that you figured it out... I had gotten so close before but never got it to work. Well done!


  • Closed Accounts Posts: 191 ✭✭Jim_No.6


    Heh - glad you liked it!

    Not much point sending it to them - I figure that it's more useful up here (their one is for Red Hat from years ago).

    Woo hoo - one happy customer!


  • Advertisement
Advertisement