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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-13-2009, 02:06 PM
|
#121
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
Could you try:
Code:
iwlist wmaster0 scan
to see if that one comes up with something?
iwconfig results :
lo : no wireless connection
eth2 no wireless co
--> wmaster0 no wire co
wlan2 <quite a lot of stuff here : which line do you want?>
|
|
|
11-13-2009, 02:23 PM
|
#122
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Code:
iwlist wmaster0 scan
did not give you anything either?
|
|
|
11-13-2009, 02:29 PM
|
#123
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
iwlist wmaster0 scan
interface doesnt support scanning
|
|
|
11-13-2009, 02:35 PM
|
#124
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Ok, this means that your computer has wireless card, the commands can be executed, the network card to use for wireless is wlan2 but the scan comes up empty. Can you reboot your wireless access point, router, or whatever you connect normally to? And after that run the command like this again:
It should show output like below (this is from my computer, showing two wireless access point, from which one is mine)
Code:
iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:23:F8:A0:EF:36
ESSID:"WLAN_81"
Mode:Master
Channel:9
Frequency:2.452 GHz (Channel 9)
Quality=77/100 Signal level:-57 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 0007574C414E5F3831
IE: Unknown: 010582848B962C
IE: Unknown: 030109
IE: Unknown: 2A0100
IE: Unknown: 32080C1218243048606C
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:tsf=00000015109dcc12
Extra: Last beacon: 642ms ago
Cell 02 - Address: 00:1A:2B:13:7A:42
ESSID:"JAZZTEL_89"
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=35/100 Signal level:-88 dBm Noise level=-127 dBm
Encryption key:on
IE: Unknown: 000A4A415A5A54454C5F3839
IE: Unknown: 010882848B962430486C
IE: Unknown: 03010B
IE: Unknown: 050400010100
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD06001018020204
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000132df1518b
Extra: Last beacon: 587ms ago
If the scan comes up empty again, then you'll have to connect with a cable because I don't know why it's failing.
Kind regards,
Eric
PS: after rebooting your wireless access point or router you'll probably need to wait some time to run the command on your computer. It might take some time for the access point to startup.
Last edited by EricTRA; 11-13-2009 at 02:37 PM.
|
|
|
11-13-2009, 02:45 PM
|
#125
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
ok, it works now (i had manually disabled wireless, sorry for all the trouble).
so, iwlist wlan2 scan shows a lot of things, most of which i can't read (out of screen)
which one do you want
|
|
|
11-13-2009, 02:52 PM
|
#126
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
actually internet works as well. omg i'm so sorry.
let's go back to the lines where i was supposed to download stuff.
what do u want me to do now?
|
|
|
11-13-2009, 02:52 PM
|
#127
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Do you know which one is yours? Then write down the ESSID and the address.
Then next run the following commands:
Code:
iwconfig wlan2 essid "Your ESSID"
iwconfig wlan2 key "Your_key"
iwconfig wlan2 ap 00:00:00:00:00:00 (the 00 address must be substituted by the address of your wireless access point)
iwconfig wlan2 up
dhclient
The quotes around the ESSID key and your_key must be typed also.
Normally if everything is working correct and you don't get any errors, you'll be connected to the wireless router.
Next step is to check if you have internet connection, and then the steps as discussed before (the apt-get install grub2 post).
Kind regards,
Eric
|
|
|
11-13-2009, 02:55 PM
|
#128
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
ok, so i wrote sudo apt-get install grub2, and it said the same thing is before.
what do i do now?
|
|
|
11-13-2009, 02:56 PM
|
#129
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by elishac
actually internet works as well. omg i'm so sorry.
let's go back to the lines where i was supposed to download stuff.
what do u want me to do now?
|
Are you saying everything is up and running and that you have connection to the internet via wireless? If so GREAT.
Go back to the post #98 and execute what's inside the quote box (the install grub2 part).
Kind regards,
Eric
|
|
|
11-13-2009, 02:58 PM
|
#130
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by elishac
ok, so i wrote sudo apt-get install grub2, and it said the same thing is before.
what do i do now?
|
OK, first type
to synchronize to the repositories, then try the
Code:
apt-get install grub2
again.
Kind regards,
Eric
|
|
|
11-13-2009, 03:00 PM
|
#131
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
hmmm actually there's a yes no question first.
do i type yes or no?
|
|
|
11-13-2009, 03:01 PM
|
#132
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
i typed sudo apt-get install grub2.
the answer was ;
reading package list done
making the dependance tree done
reading states infos done
the following packages have been installed automatically and are no longer necessary
stardict-common mueller7-dict libpcmanx-core0 stardict binutils-static
starddict-plugin-festival stardict-plugin-espeak pcmanx-gtk2 stardict-gtl
langugage-pack-zh-base language-pack gnome-zh-base libestools1.2
language-pack-kde-zh-base stardinct-plguin
please use "apt-get autoremove" to delte them
the additional following packages will be installed :
grub-pc
packages suggested :
desktop-base
the following packages will be DELEYED :
grub
the NEW packages that follow will be installed :
grub-pc grub2
0 updates, 2 new installed, 1 to suppres and 0 nonupdates.
it is necessary to take 436ko in the archives.
after this operation, 1077 kos of additional disk space will be used.
would you like to continue [y/n] ?
|
|
|
11-13-2009, 03:04 PM
|
#133
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
reply
to install the necessary packages and go to the next command when it finishes.
When going on to the next step carefully read the words in red in my previous post, or you'll f**ck up your system and boot with an error 15.
Kind regards,
Eric
Last edited by EricTRA; 11-13-2009 at 03:06 PM.
|
|
|
11-13-2009, 03:08 PM
|
#134
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
i wrote yes.
i got a blue screen untitled configuration of grub-pc.
configuration of packages tool
it says :
a standard installation of grub was detacted in boot/grub
in order to replace this installation, it is advised to modify boot/grub/menu.lst to chaiload grub 2 from the standard installtion of grub. please choose if you want to do this modifcation.
it is recommanded to choose this option to be able to confirm the well fonctionning of grub 2 before installation it directly on the master boot record
in any case, to load grub 2 directly from the mbr, you should use the following command with the administrator status :
upgrade-from-grub-legacy
<ok>
shall i press enter?
|
|
|
11-13-2009, 03:11 PM
|
#135
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
yes, press enter.
|
|
|
All times are GMT -5. The time now is 01:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|