Question about Ubuntu.

Discussion in 'all things UNIX' started by Dave49, Feb 28, 2008.

Thread Status:
Not open for further replies.
  1. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    I have Ubuntu installed on one of my HDDs. I'm using a Linksys cable modem, and a Belkin wireless router. I find that everytime I reboot into Ubuntu, I have to re-enter the hexadecimal password for my router to be connected to the internet. Is there any way I can get this thing to remember the password, and connect to the internet automatically? I'm using by XP Pro drive so I can ask this question.

    Thanks,

    ~Dave
     
  2. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
  3. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    I guess I take a look at that WICD thing.

    Thanks,

    ~Dave
     
  4. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Not the route I thought you'd take. Gui's tend to be inadequate, shell's quicker with more complete access.

    GF
     
  5. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    I'm a complete beginner at using Linux. I don't know anything about this "shell" think you talk about. I guess I need a "Linux For Dummies" book, or something. The terminology is sometimes baffling to me. I'm only messing with Linux because I'd like to get away from Micro$oft someday.

    Thanks,

    ~Dave
     
  6. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Well we're share'in a boat ride then. :D I've alway's had trouble with ubuntu not like'in my hw so, my option's still with live stro's that supply a feature packed shell. Were you able to view the content's of your /etc/network/interfaces file? On a kde desktop I'd load possibly kwrite /etc/network/interfaces to get'er opened. If gnome, choose one that'll open after typing it's name in a shell (perhap's gksu gedit if running the gnome dsktop).

    What kind of output did you get after loading: ps xa |grep nm-applet? It's not hard, simply work along.

    *Hint: To help figure out which cmd does what, add a descriptive word or two after apropos. ;)

    Code:
    [url=http://www.linux.org/lessons/beginner/l8/lesson8a.html]apropos[/url] [b]network[/b] <== [u]For example[/u].
    /etc/network/interfaces (5) [interfaces] - network interface configuration for ifup and ifdown
    /etc/network/interfaces (vlan) (5) [vlan-interfaces] - vlan extensions for interfaces (5) file format
    amanda (8)           - Advanced Maryland Automatic Network Disk Archiver
    amanda-client.conf (5) - Client configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
    amanda.conf (5)      - Main configuration file for Amanda, the Advanced Maryland Automatic Network Disk Archiver
    aseqnet (1)          - ALSA sequencer connectors over network
    athstats (8)         - simple tool to inspect and monitor network traffic statistics
    atmel_fwl (8)        - Load firmware into Atmel at76c50x wireless networking chips.
    bittorrent-downloader.bittorrent (1) - download files using a scatter-gather network
    btdownloadcurses (1) - download files using a scatter-gather network
    btdownloadcurses.bittorrent (1) - download files using a scatter-gather network
    btdownloadheadless (1) - download files using a scatter-gather network
    btdownloadheadless.bittorrent (1) - download files using a scatter-gather network
    byteorder (3)        - convert values between host and network byte order
    dund (1)             - BlueZ Bluetooth dial-up networking daemon
    endhostent (3)       - get network host entry
    endnetent (3)        - get network entry
    endnetgrent (3)      - handle network group entries
    fping (8)            - send ICMP ECHO_REQUEST packets to network hosts
    fping6 (8)           - send ICMP ECHO_REQUEST packets to network hosts
    freeaddrinfo (3)     - network address and service translation
    freehostent (3)      - get network host names and addresses
    gai_strerror (3)     - network address and service translation
    getaddrinfo (3)      - network address and service translation
    gethostbyaddr (3)    - get network host entry
    gethostbyname (3)    - get network host entry
    gethostbyname2 (3)   - get network host entry
    gethostbyname2_r (3) - get network host entry
    gethostbyname_r (3)  - get network host entry
    gethostent (3)       - get network host entry
    gethostent_r (3)     - get network host entry
    getipnodebyaddr (3)  - get network host names and addresses
    getipnodebyname (3)  - get network host names and addresses
    getnetbyaddr (3)     - get network entry
    getnetbyname (3)     - get network entry
    getnetent (3)        - get network entry
    getnetgrent (3)      - handle network group entries
    getnetgrent_r (3)    - handle network group entries
    herror (3)           - get network host entry
    hping (8)            - send (almost) arbitrary TCP/IP packets to network hosts
    hping2 (8)           - send (almost) arbitrary TCP/IP packets to network hosts
    hstrerror (3)        - get network host entry
    htonl (3)            - convert values between host and network byte order
    htons (3)            - convert values between host and network byte order
    hunt (1)             - Network security auditing tool.
    idswakeup (1)        - Network intrusion detection system "waker"
    ifconfig (8)         - configure a network interface
    ifdown (8)           - take a network interface down
    ifport (8)           - select the transceiver type for a network interface
    ifup (8)             - bring a network interface up
    ifuser (8)           - identify destinations routed to a particular network interface
    inet_network (3)     - Internet address manipulation routines
    inet_ntop (3)        - Parse network address structures
    inet_pton (3)        - Create a network address structure
    innetgr (3)          - handle network group entries
    interfaces (5)       - network interface configuration for ifup and ifdown
    iperf (1)            - measure network performance
    ipx_cmd (8)          - bridge between Novell's SCMD driver and local IPX network
    ipx_internal_net (8) - add or delete the IPX internal network
    iwconfig (8)         - configure a wireless network interface
    iwgetid (8)          - Report ESSID, NWID or AP/Cell Address of wireless network
    iwpriv (8)           - configure optionals (private) parameters of a wireless network interface
    knetattach (1)       - KDE Network Wizard
    lnstat (8)           - unified linux network statistics
    mkelf-linux (1)      - make network bootable image
    mkelf-menu (1)       - make network bootable image
    mknbi (1)            - make network bootable image
    mknbi-dos (1)        - make network bootable image
    mknbi-fdos (1)       - make network bootable image
    mknbi-linux (1)      - make network bootable image
    mknbi-menu (1)       - make network bootable image
    mknbi-rom (1)        - make network bootable image
    mtr (8)              - a network diagnostic tool
    nameif (8)           - name network interfaces based on MAC addresses
    nc6 (1)              - network swiss army knife
    netdevice (7)        - Low level access to Linux network devices
    netstat (8)          - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
    networks (5)         - network name information
    networkstatustestservice (1) - Test application for the NetworkStatus monitor
    ngrep (8)            - network grep
    nmap (1)             - Network exploration tool and security / port scanner
    ntohl (3)            - convert values between host and network byte order
    ntohs (3)            - convert values between host and network byte order
    ping (8)             - send ICMP ECHO_REQUEST to network hosts
    ping6 (8)            - send ICMP ECHO_REQUEST to network hosts
    pngtopnm (1)         - convert a Portable Network Graphics file into portable anymap
    pnmtopng (1)         - convert a portable anymap into a Portable Network Graphics file
    pppoe-sniff (8)      - examine network for non-standard PPPoE frames
    pump (8)             - configure network interface via BOOTP or DHCP protocol
    sane-net (5)         - SANE network backend
    saned (8)            - SANE network daemon
    services (5)         - Internet network services list
    sethostent (3)       - get network host entry
    setnetent (3)        - get network entry
    setnetgrent (3)      - handle network group entries
    slattach (8)         - attach a network interface to a serial line
    smbtree (1)          - A text based smb network browser
    tcpdump (8)          - dump traffic on a network
    tightvncserver (1)   - a X server for Virtual Network Computing
    tracepath (8)        - traces path to a network host discovering MTU along this path
    tracepath6 (8)       - traces path to a network host discovering MTU along this path
    traceroute (8)       - print the route packets take to network host
    traceroute.lbl (8)   - print the route packets take to network host
    traceroute6 (8)      - traces path to a network host
    tshark (1)           - Dump and analyze network traffic
    tsocks (8)           - Library for intercepting outgoing network connections and redirecting them through a SOCKS server.
    vnc.conf (5x)        - configuration file for Virtual Network Computing
    vncserver (1)        - a X server for Virtual Network Computing
    wavemon (1)          - a wireless network monitor application
    wget (1)             - The non-interactive network downloader.
    wireshark (1)        - Interactively dump and analyze network traffic
    ifport (8)           - select the transceiver type for a network interface
    ifuser (8)           - identify destinations routed to a particular network interface

    GF
     
    Last edited: Feb 29, 2008
  7. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    Since I have no idea what all that is you wrote, I'd say your boat is much larger than mine. :oops:

    I printed all that out so I can refer to it when I re-boot onto my Obuntu caddy. I will experiment with some of that using the terminal, I guess.

    Thanks,

    ~Dave
     
  8. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Hold that thought Dave. It'll be tough to carry any example's w/o a wireless setup of my own. Be back shortly.
    Take a look at this in the meantime - /etc/network/interfaces Ubuntu Linux networking example

    ========================

    The information provided on this page below is what you should print and work with Dave.
    How To: Manual Network Configuration without the need for Network Manager

    More cmd's, idea's, option's to aid you - http://ubuntuforums.org/showthread.php?t=596797

    *Follow HalSF's fourth post lead:
    If you're able to dump the content's of that file, sans sensitive info, do so.
    Wrap it between <code></code> tag's like my other post if very large.


    GF
     
    Last edited: Mar 2, 2008
  9. Huupi

    Huupi Registered Member

    Joined:
    Sep 2, 2006
    Posts:
    2,024
    he right flavor to get into Linux but still too geeky for my tastes,all the commandline stuff,has a long way to make it as userfriendly like Windows.

    If it stay that way,forget about Linux,its not essential for my uses.

    i think Linux is basically well thought out but essentially a relict from the DOS area,that need a big improvement in userfriendliness.

    i say so will it need more acceptance by the masses it has to !
     
  10. Huupi

    Huupi Registered Member

    Joined:
    Sep 2, 2006
    Posts:
    2,024
    not to hiyack the thread and please forget about my post.

    Just can't avoid to conclude that Dave's questions are proof of my assumptions !!
     
  11. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    Sorry to take so long to reply. It seems that "instant email notifications" for replies to this thread has stopped working for me for some reason.

    Global Force, I will take your advise and try to configure this more. But one thing I found is that, if I Cancel the request for the HEX password, and click the failed connection icon, it shows me My Belkin connection in the drop down window. The connection shows good strength, but is not "ticked". So I tick it and hit enter. It searches for the connection for awhile, and I get the double monitor with red X icon. I click that and tick the Belkin connection again, and it gives me the power bars showing it has connected without me entering the HEX password. This is really crazy, but it seems to work that way every time I reboot. At least this "work around" is a LOT faster than entering 30 HEX characters every time I reboot.

    Huupi, You make a good point about the virtual return to DOS. Or maybe more a return to Windows 3.1 with all the necessary coding in a terminal window. I realize that Ubuntu is light years ahead of Windows 3.1, but so much coding makes it very difficult for a newbe such as myself to get into this. For me it's a VERY steep learning curve.

    But I plan to stick with it in the hopes that, as things get more automated in Ubuntu, I will have established a better foundation for understanding the OS.

    Thanks to both for your input.

    ~Dave
     
  12. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Were you able to glance the content's of your interfaces file Dave?

    Steve
     
  13. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    It says "Permission Denied" when I enter "/etc/network/interfaces".

    ~Dave
     
  14. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    BTW, I checked the Keyring and the HEX password phrase is in there.

    ~Dave
     
  15. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Use the following. You may have to be root, I'm not sure.

    • gedit /etc/network/interfaces if gnome;

    • kwrite /etc/network/interfaces if kde.
    It's occasionally good to back-peddle a thread.


    Steve
     
  16. Dave49

    Dave49 Registered Member

    Joined:
    Jan 29, 2008
    Posts:
    162
    Location:
    Northeast U.S.
    That's the first thing I'll do next time I'm in Ubuntu.

    Thanks,

    ~Dave
     
Loading...
Thread Status:
Not open for further replies.