Results 1 to 3 of 3

Thread: How do I launch my Wireless connection from the command line?

  1. #1
    oxf is offline Extra Foam Sugar Free Ubuntu
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Beans
    Hidden!
    Distro
    Lubuntu 13.04 Raring Ringtail

    How do I launch my Wireless connection from the command line?

    The title about says it! I have a major problem on my laptop after installing updates. Some of my icons in the top panel are broken. So as a first step I need to reinstall a few things. The first step is to start the wireless connection from the terminal. So would someone please tell what the command is?
    Many thanks..
    Last edited by oxf; October 11th, 2010 at 12:32 PM.

  2. #2
    Join Date
    Dec 2009
    Beans
    17

    Re: How do I launch my Wireless connection from the command line?

    first check if the iwconfig command is working and showing the wireless extension....

    Try setting the key (if enabled) (replace eth1 with your network interface name....)

    $iwconfig eth1 enc your_key

    connect to the essid (access point)

    $iwconfig eth1 essid "network_name"

    and then use dhcpcd to request an ip address...

    $dhcpcd eth1 -d

    Try man iwconfig, man dhcpcd for an explanation of these commands.

    Cheers,
    Ankith

  3. #3
    oxf is offline Extra Foam Sugar Free Ubuntu
    Join Date
    May 2009
    Location
    Oxfordshire, UK
    Beans
    Hidden!
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: How do I launch my Wireless connection from the command line?

    Quote Originally Posted by ankith13 View Post
    first check if the iwconfig command is working and showing the wireless extension....

    Try setting the key (if enabled) (replace eth1 with your network interface name....)

    $iwconfig eth1 enc your_key

    connect to the essid (access point)

    $iwconfig eth1 essid "network_name"

    and then use dhcpcd to request an ip address...

    $dhcpcd eth1 -d

    Try man iwconfig, man dhcpcd for an explanation of these commands.

    Cheers,
    Ankith
    Thanks for that anyway. iwconfig reports no wireless extenions. However, this does not now suprise me as the wireless icon was gone. It seems like I have a much bigger problem that was caused by a kernel update "breaking" my system.
    Grrrrrrr

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •