LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 8 Connecting Internet Wireless (http://www.linuxquestions.org/questions/linux-newbie-8/fedora-8-connecting-internet-wireless-605360/)

Kryptos 12-08-2007 06:34 AM

Fedora 8 Connecting Internet Wireless
 
Hi Everyone,
I am absolutely new to linux world and I just finished my first linux installation, so I am using Fedora 8 and my first step it`s to connect to the internet, but I am in trouble because I don`t know nothing about networking.
I tried Graphical configuration with system-config-network but I can`t do it. The computer detects two hardware devices: Intel Corporation 82801 DB PRO/100 VE (MOB) Ethernet Controller and INtel Corporation Pro/Wireless 2200BG Network Connection. I use a Belkin Adsl Modem with Wireless G Router, ADSL connection.
I am currently using Windows XP, the internet is working, and all information I know how to get it`s that I have two connections: LAN 1394 Net Adapter with firewall, and Wireless Connection with firewall (IP 192.168.2.2 Sub-mask 255.255.255.0 with DHCP).
In system-config-network I can`t use DHCP,it doesn`t work.
I don`t know where to start to configure the internet connection.. Should I configure DNS? The only thing I know it`s an IP...
Can you give me an overview about the situation, an advice please.
I would appreciate that you recommend me introductory books about networking to solve my problem for now and to adquire basic knowledge related With networks. Any kind of help it`s welcome.
Sorry about my english language.
I already posted this question in Linux Wireless Forum but I didn`t get an answer, I know it`s a newbie question so I posted here also.
By the way Network Manager doesn`t work and don`t know why, when i click nothing occurs.
I tried iwlist scan command at the terminal but it`s says someting like: "bash command not found"
can you help me?

Thanks in advance.

bbfuller 12-08-2007 10:06 AM

Hello Kryptos,

There are a lot of things to sort out here and I suggest that at least in the beginning we forget the wireless aspect.

Wireless is still one of the more difficult things to get going in Linux and it is always easier when you are sure the basic networking parts of the installation are working.

I can't imagine that the Intel wired card is going to be a problem so the first thing is to make sure you have a cable from that to your Belkin Router.

Then start up a Command Prompt Window, change to being root by issuing the command:

su -

in it and giving the root password. That's a horizontal dash otherwise known as hyphen after the su and separated from it by a space.

The prompt itself should then change from something like:

[bbfuller@atx17 ~]

to

[root@atx17 ~]

At the root command prompt issue the command:

ifconfig

If you highlight the response with the mouse you can probably find some way to copy it onto a memory stick and get it to your Windows environment - which I assume you are working from - so that you can paste it into a message window here. Beats having to write it all out.

When you come back, let me know if you have installed from a DVD or one of the live cd's as they are slightly different to set up, and also if you are using Gnome or KDE as your desktop. Once again, some things are in slightly different places depending on which you are using.

Kryptos 12-08-2007 02:40 PM

Hi bbfuller,
I am very thankful for your help.
First I want to say that the wireless device it`s now active, it became active with iwconfig and iwlist scan commands. It`s active but I can`t access the internet...
I am using Gnome as my desktop, and I installed Fedora 8 from a DVD.
I have a /shared partition (VFAT) and I couldn`t save documents there don`t know why (another problem!), it says that I haven`t permission or simply don`t save the files but don`t ask for a root password, however, I saved directly to Windows NTFS partition and that`s how I can share with you the following information (which I don`t know how to interpret!):

[Kryptos@localhost ~]$ su -
Password:
[root@localhost ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0E:35:8A:FA:5B
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20e:35ff:fe8a:fa5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1263 errors:0 dropped:0 overruns:0 frame:0
TX packets:730 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xc000 Memory:cffff000-cfffffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8432 errors:0 dropped:0 overruns:0 frame:0
TX packets:8432 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4351416 (4.1 MiB) TX bytes:4351416 (4.1 MiB)

[root@localhost ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 unassociated ESSID:off/any Nickname:"localhost"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[root@localhost ~]# iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :
Cell 01 - Address: 00:11:50:FA:13:0A
ESSID:"NetMiguel"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 22 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Quality=76/100 Signal level=-53 dBm
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Extra: Last beacon: 126ms ago

Soon I will have a cable to connect from the router.
I Hope you can help me and I would like to understand how things work.

Thanks a lot.

bbfuller 12-08-2007 04:20 PM

Hello Kryptos,

Well, according to the output of:

iwlist scan

your wireless network is just waiting for you to connect to the access point NetMiguel. Is that yours and do you have the encryption key it is talking about?

You still need to tell me if you are using Gnome or KDE and if it is from DVD or live CD.

Kryptos 12-09-2007 02:38 AM

Hi bbfuller,
Like I wrote before in the last message I am using Gnome desktop and installed Fedora 8 from DVD.
"NetMiguel" it`s the identifying name of my wireless access point, as I can confirm in Windows (and encryption it`s activated). I have a "password" may be it`s the encryption key you`re talking about but don`t know I can I use it.
Hope to hear from you soon.

Thanks Again.

bbfuller 12-09-2007 03:57 AM

Hello Kryptos,

You did indeed tell me about Gnome and DVD, apologies.

Usually, when you have got this far there is an icon representing the NetworkManager on the taskbar of a Gnome desktop in the top right corner of the screen. If it's there left clicking on it should bring up the same network(s) as you get from iwlist, and left clicking on that network should prompt you for the encryption passphrase and a further password which can be anything you can remember. That way NetworkManager stores the complicated encryption passphrase and all you have to type when you connect is the password.

If the NetworkManager icon isn't showing, try:

service NetworkManager status

at a root command line. That should tell you if the background service is running.

If it is not, then:

system-config-services

will bring up the services configuration where you can put a mark against NetworkManager, start it from the toolbar and importantly save the configuration so it always starts.

Now you should have access to the NetworkManager.

How much success you have connecting will depend on a couple of things.

Firstly, NetworkManager doesn't yet like any encryption method higher than basic WPA-PSK and sometimes not even that. If you have problems connecting try temporarily disabling encryption on the router.

Secondly, it's going to depend on if you have tried any manual configuration on this card and if you have removed any such changes you made.

One of the more important ones is to go to:

system-config-network

highlight your eth1 wireless card and choose to edit its configuration, make sure it is set not to "activate when the computer starts". If it is set that way and you have to change it probably best to restart the machine before trying anything else. NetworkManager likes to have full control of the card, not share it with anything else.

Good luck, I'll be looking to see how you get on.

Kryptos 12-19-2007 08:32 AM

Solved!
 
Hi bbfuller,
I am very thankful for your help. I writing this post using Linux!
I did what you said, the computer asked me for a password related to the wireless network and I am now connected to the internet!

Thanks Again,
Regards

Emerald Wolf 06-28-2008 11:38 PM

I know this is dredging up an old thread, but I just wanted to sent out a thank you for the tip. I'd just installed a copy of Fedora 8 and had thought that either avahi or some update had been crashing/messing-with dhclient. It was extremely frustrating to have wireless work, and they quit for no apparent reason.

After turning off Avahi-daemon and following the advice to not have the wlan0 autostart, but use NetworkManager to start it...BINGO...Worked like a champ....Thanks again...

Catchya on the Flip Side.....

Emerald Wolf -- trying really hard to like Fedora.....(I do love Ubuntu and Slack11)


All times are GMT -5. The time now is 09:37 AM.