PDA

View Full Version : Question about Ubuntu.


Dave49
February 28th, 2008, 12:20 AM
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

GlobalForce
February 28th, 2008, 05:50 PM
Hi Dave,

You may need more, hopefully it's enough to work with - http://ubuntuforums.org/showthread.php?t=615123


GF

Dave49
February 28th, 2008, 06:24 PM
I guess I take a look at that WICD thing.

Thanks,

~Dave

GlobalForce
February 29th, 2008, 10:27 AM
Not the route I thought you'd take. Gui's tend to be inadequate, shell's quicker with more complete access.

GF

Dave49
February 29th, 2008, 12:43 PM
-{ Quote: "Not the route I thought you'd take. Gui's tend to be inadequate, shell's quicker with more complete access.

GF" }-

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

GlobalForce
February 29th, 2008, 01:40 PM
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. ;)

apropos (http://www.linux.org/lessons/beginner/l8/lesson8a.html) network <== For example.
/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

Dave49
February 29th, 2008, 02:09 PM
Since I have no idea what all that is you wrote, I'd say your boat is much larger than mine. :-[

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

GlobalForce
February 29th, 2008, 03:50 PM
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 (http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/)

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

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 (http://ubuntuforums.org/showthread.php?t=571188)

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

*Follow HalSF's fourth post lead:
-{ Quote: ""After reviewing some of the posts at http://ubuntuforums.org/showthread.php?t=571188 and elsewhere on the forum, I was able to learn the significance of some of my key wireless config information such as my driver, SSID name, interface name (eth1), etc. I then launched the Terminal and entered:

gksu mousepad [the default editor in Xubuntu] /etc/network/interfaces

For whatever reason there was a lot of bad info in this file; for example, the WPA1 password in the interfaces file was incorrect. I typed in the correct password and interface name and also entered the correct shorthand for my driver [ipw] and the name of my SSID network, and saved the new version of interfaces. From that point on I've had a solid wireless connection every time upon booting Xubuntu Gutsy.

In addition to trying out the suggestion about editing the interfaces file, the key to figuring this out was a lot of trial and error. I tried installing the wpa_supplicant utility and configuring my network using the Network Manger [nm-applet] in the Terminal, but neither approach fixed anything. But I'm learning that these quixotic detours are actually essential; these failed attempts were also useful self-tutoring sessions to helped me grasp the key components of the wireless config and improve my facility in command-line land."" }-
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

Huupi
February 29th, 2008, 04:24 PM
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 !

Huupi
February 29th, 2008, 04:48 PM
-{ Quote: "Unfortunately Huupi, this is not a discussion about os acceptability. ;)

GF" }-

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 !!

Dave49
February 29th, 2008, 09:12 PM
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

GlobalForce
March 1st, 2008, 07:52 AM
Were you able to glance the content's of your interfaces file Dave?

Steve

Dave49
March 1st, 2008, 08:11 AM
-{ Quote: "Were you able to glance the content's of your interfaces file Dave?

Steve" }-

It says "Permission Denied" when I enter "/etc/network/interfaces".

~Dave

Dave49
March 1st, 2008, 08:19 AM
BTW, I checked the Keyring and the HEX password phrase is in there.

~Dave

GlobalForce
March 1st, 2008, 09:44 AM
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

Dave49
March 1st, 2008, 09:47 AM
-{ Quote: "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" }-

That's the first thing I'll do next time I'm in Ubuntu.

Thanks,

~Dave