LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2007, 12:25 PM   #1
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Rep: Reputation: 0
Post can't get connected


This is the message I get each time I go into ubuntu 7.04 ;- 'could not lookup internet address for peter-desktop.This will prevent Xfce from operating correctly.It may be possible to correct the problem by adding peter-desktop to the file/etc/hosts on your system.Continue anyway? Try again? Unable to make the addition as suggested. In network settings things are as follows ;-SSID:HAYGREEN DHCP Properties;Unable to connect. Wirelzss settings : network name :ESSID)HAYGREEN network password type :WEP key(ascii) Then the 26 car'ecters,which I have typed in most carefully. Can anyone please help me sort out this problem?As you all know until you are connected any linux system is almost useless.Can anyone please help me sort out this problem?
 
Old 11-04-2007, 03:59 PM   #2
poet_imp
LQ Newbie
 
Registered: Nov 2007
Location: Tucson, AZ
Distribution: Kubuntu/Gutsy
Posts: 26

Rep: Reputation: 15
Have you tried to update /etc/hosts like the message suggests?

Example:

127.0.0.1 localhost peter-desktop

Last edited by poet_imp; 11-13-2007 at 07:00 PM. Reason: Fixed Typo: Changed IP address from 127.0.1.1 to 127.0.0.1
 
Old 11-04-2007, 04:14 PM   #3
JBull
Member
 
Registered: Jul 2005
Location: Dallas, TX, USA
Distribution: Debian Etch
Posts: 37

Rep: Reputation: 15
Yes do what poet_imp says above.

$cd /etc
$sudo gedit hosts

Then edit the first lines of the file to read exactly what poet posted. Save the file. Test your connection and see if everything is working. If not then type

$cat /etc/hosts


$sudo ifconfig


$sudo iwconfig

And post the output of each of these.
 
Old 11-13-2007, 04:14 PM   #4
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Original Poster
Rep: Reputation: 0
the help didn't work

Thank you for the advice to both poet_imp and JBull.Still not connected to the net.Should really have used a 'shot' of what follows. Network Settings Connection General DNS Hosts I P Address Alias 127.0.0.1 localhost 127.0.1.1 peter-desktop HAYGREEN ::1 1p6-locajhost fe00::0 1p6-localhost ff00::0 1p6-mcastprefix ff02::1 1p6-allnodes ff02::2 1p6-allnodes ff02::3 1p6-allhosts Can not add a location at the top.
 
Old 11-13-2007, 06:58 PM   #5
poet_imp
LQ Newbie
 
Registered: Nov 2007
Location: Tucson, AZ
Distribution: Kubuntu/Gutsy
Posts: 26

Rep: Reputation: 15
Need more input...

Seemed an good title for post "Number Five" (if you are not a movie watcher just ignore me )

petsno, you need to look at what jbull asked you to send. The hosts file and the output from the ifconfig and iwconfig commands will help a lot. Just type in the commands as he has shown them and copy from your screen and paste it to a reply.

I do not recognize what you did send. What did you do to get that response?
 
Old 11-15-2007, 04:42 AM   #6
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Original Poster
Rep: Reputation: 0
can't get connected

Have received two replies and was asked for more info about what I had done so far.There is another question I would like to ask.Is it possible to send an e-mail to this page with attachments?If so this could illustrate better the visual information appearing on my ubuntu worktopI can't seem to understand the questions I'm asked and don't understand the answers I receive back from poet_imp and JBull.I have a total of 5.5meg of screenshots I could send,if they would help.
 
Old 11-15-2007, 12:20 PM   #7
poet_imp
LQ Newbie
 
Registered: Nov 2007
Location: Tucson, AZ
Distribution: Kubuntu/Gutsy
Posts: 26

Rep: Reputation: 15
Petsno, From what I can see in your posts so far, the problems you are seeing are related to having your network configured incorrectly. I can not be sure of that though without looking at how the networking is configured. I think, that if we fix the network configuration, it will make XFCE work.

To see how your network is configured I need to see three things. To show me those three things I need you to type three commands. They are:

ifconfig -a >netconf.out
iwconfig >>netconf.out
cat /etc/hosts >>netconf.out

After you type each command some output will written to the file netconf.out. If you do not have a screen where you can type in these commands you may need press <ctrl-alt-f1> to get to a console screen.

Once you have the netconf.out file you need to post what is in it on this thread. How you do that is up to you.
 
Old 11-17-2007, 04:57 PM   #8
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Original Poster
Rep: Reputation: 0
Exclamation

Have been into terminal and typed the three instuctions as given with the following replies :- ifconfig (NOT RECOGNISED) twconfig command not found cat/etc/hosts no such file or directory SOME PART SEEMS TO BE CONNECTED TO THZ NET?THAT'S MORE OF A FEELING,CAN'T PUT MY FINGER ON WHAT.
 
Old 11-18-2007, 04:24 PM   #9
linuxonbute
Member
 
Registered: May 2005
Location: North lincolnshire
Distribution: Mint 18 Cinnamon
Posts: 47

Rep: Reputation: 19
Quote:
Originally Posted by petsno123 View Post
Have been into terminal and typed the three instuctions as given with the following replies :- ifconfig (NOT RECOGNISED) twconfig command not found cat/etc/hosts no such file or directory SOME PART SEEMS TO BE CONNECTED TO THZ NET?THAT'S MORE OF A FEELING,CAN'T PUT MY FINGER ON WHAT.
Did you run the first 2 commands as root?
the commands are not usually in a users PATH
but are in root's PATH

I think the 2nd command should be iwconfig not twconfig
the third command should be
cat /etc/hosts
NOT
cat/etc/hosts
i.e a space between cat and the first / ( or was this just a typo? )
 
Old 11-22-2007, 05:23 PM   #10
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Original Poster
Rep: Reputation: 0
can't get connected

Dear all,thanks for all the info.Still not making the connection. Have managed to get IP Address,which is 82.253.203.242 and the hosts name ;-lns-bzn-46-82-253-203-242.adsl.p10xad.net
Being such a long and complex set of details could have lead to errors,though.Will I need to type them if I ever do get close to being connected?Configuration is much more complex than I expected.Without your feedback I would have given up before now. A pity as what I have seen so far really looks good.Don't give up on me please.
 
Old 12-01-2007, 09:51 AM   #11
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Original Poster
Rep: Reputation: 0
Question fcan't get connected

Dear all I seem to be understanding a little more as time progesses.Still getting the message before I'm even into anything "could not look up address for peter-desktop.At least when I go into Network Settings things apear better.'Wireless connection looks active,showing Essid:HAYGREEN Address:82.253.203.242.On clicking Properties I see :- X Enable this connection.Below this :-Wireless settings.Then are listed :- Network name(ESSID)HAYGREEN;Password type WEP key(tried both ascii and hexadecimal);Network password (typed very,very carzfully].For Connection settings I've used both "Static IP address" and "Auto config(DHCP)" with IP address 82.253.203.242;Subnet mask 255.0.0.0 and Gateway address as c46.82.253.203.Tried changing "Hosts" to IP address 82.253.203.242 but left the "aliases" as peter-desktopHAYGREEN.Nothing apears to have made any difference.The linux driver for my cardbus adapter seems to be showing when xbuntu is fired-up.Is there something I should be doing at the terminal interface?I don't know what to do next.
 
Old 12-08-2007, 11:23 AM   #12
petsno123
LQ Newbie
 
Registered: Mar 2007
Location: Manosque,Provence,France
Distribution: MINT7,ubuntu9.04
Posts: 10

Original Poster
Rep: Reputation: 0
Smile seem to getting somewhere

Thank you for all the help so far.Have gone into "help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide?action.Found it very useful,even if I didn't understand most of the information.Moved to Network - "terminal"and typed :- lshw".The results were as follows ;- description : Wireless interface product : RT2561/RT61 rev B802.11g vendor : RaLink physical id : a businfo : pci@01:0a.0 logical name : ra0 version : 00 serial : 00:08:a1:a1:f6:64 width : 32bits clock :33MHz capabilities : bus-master cap-list ethernet physical wirelzss configuration : broadcast=yes driver=RT61STA driver version =1:1:0 CV3 IP+192.168.0.1 latancy=64 multicast=yes wireless=RT61 wireless resources : iomemoryidfff0000.dfffffff irq20 --END OF PAGE-- Then typed "lwconfig" wiyh the following result:- Lo no wireless extension eth0 no wireless extension ra0 RT61Wireless ESSID:"HAYGREEN "NICKNAME:" mode:Managed Frequency:2.462GHz Access Point:00:07:CB:6E:67:60 Bit rate=24Mb/s RTs thrff Fragment thrff Line quality=63/100 signal level:-78dBm noise level:-103dBm RX invalid nwid:0 RX invalid crypt:0 RX invalid frag:0 TX excessive retries:0 Invalid misc:0 missed becons:0 I trust all that is understood by someone out there.Await a reply.
 
Old 12-08-2007, 02:16 PM   #13
OSlinuX
LQ Newbie
 
Registered: Feb 2007
Location: North Virginia
Distribution: Ubuntu 6.06 LT
Posts: 18

Rep: Reputation: 0
When i first installed Ubuntu on my laptop i was glad that the card was automatically picked up, but i had the same problem you were having. I think the problem is that the bugs for linux and a secured wireless network just have not been worked out yet.
Try making your wireless network unsecure, without a key. See if you can connect after that. Thats what helped me out. Instead of using WEP, i ended up using MAC filtering.
 
Old 12-08-2007, 03:05 PM   #14
xweb
Member
 
Registered: Dec 2005
Location: norfolk, va
Distribution: kubuntu, debian
Posts: 36

Rep: Reputation: 16
I believe you need to install the wpa_suplicant to get encryption working.
 
Old 12-26-2007, 06:45 PM   #15
crackpipe
Member
 
Registered: Nov 2005
Location: Berkeley, CA
Distribution: Slackware, Arch, Zenwalk (pre-2012)
Posts: 41

Rep: Reputation: 15
Usually, if the files "etc/hosts" and "etc/HOSTNAME" have the same info, XFCE won't bark at you. If you change /etc/hosts, try changing etc/HOSTNAME and see if XFCE stops prompting you during log-in. If it doesn't, I'm sorry; it would annoy me too if convenience led me to change my /etc/hosts back to something XFCE expected.
 
  


Reply

Tags
ubuntu704


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS says my connected printer is "not connected" Scotteh Linux - Software 3 09-02-2007 03:19 PM
Ethernet, Connected but not Connected! charl^e Linux - Networking 5 07-24-2007 04:59 AM
access web on a laptop connected to a web-connected desktop bluesmanu Linux - Networking 2 04-16-2006 01:38 PM
ipw2200 connected but not connected? snataw Linux - Wireless Networking 5 03-31-2005 09:12 AM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 12:10 PM


All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration