LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-22-2005, 05:50 AM   #1
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Rep: Reputation: 15
get a WAG54G running in FC3


I have a "Linksys WAG54G" connected to my ethernet card "D-link DFE-530TX".
I am sure that my NIC is working on linux. My distro is FC3. i cant seem to get connected on the net. I am a total so will need to know how to do things
 
Old 03-22-2005, 06:16 AM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
To connect to the internet, of course, you have to set up your ADSL Gateway properly.

In order to do that, of course you have to connect to the linksys box.

Check the default ip address of the linksys box. Set you NIC to a fixed IP address. For example, if the default ip is 192.168.0.1, then set the ip of your FC3 PC to 192.168.0.2 You can do it via the GUI or directly edit the /etc/sysconfig/network-script/ifcfg-eth0

Now, login to the linksys box with the default password and setup all the thing you needed. (ISP login/password etc)

At this point you can consider to turn on DHCP or not. If so, you have to modifiy your FC3 networking setting later to take advantage of that.

That's an outline of steps you need to take
 
Old 03-22-2005, 06:20 AM   #3
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Original Poster
Rep: Reputation: 15
I have 1 pc dualbooting winxp n FC3
How do i do all that? I mean i want instructions.
I know I am acting STUPID but its my first time

Last edited by megadsonic; 03-22-2005 at 06:29 AM.
 
Old 03-22-2005, 03:13 PM   #4
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
OK. Easy. :-)

First thing first. Have you set up the linksys box yet? (Because obviously you can connect to internet now by posting here)

If not yet configure the box, you have to *read* the documentation comes with the box for its default ip, default login name and default password.
 
Old 03-23-2005, 04:58 AM   #5
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Original Poster
Rep: Reputation: 15
In the guides it says how to do it in windows, nothing regarding linux.

On trying to connect to the net, the error it gives:
Code:
/sbin/adsl-start line 215: 5217 Terminated
$CONNECT "$@" >/dev/null 2>&1

Last edited by megadsonic; 03-23-2005 at 01:50 PM.
 
Old 03-23-2005, 06:41 AM   #6
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
1)

since this guy 'Linksys WAG54G' will connect to your ISP, you do not need to do the adsl-start in linux at all.

The linksys box will handle the adsl connection

2)

Look at the manual of Linksys WAG54G. See chapter 5? You can configure the linksys box by accessing the web inteface of the box.

The box has a default ip of 192.168.1.1. Login is admin and password is admin

3)

Now. In order to access the box's web interface, your NIC card must have the right ip address.

Can you try
Code:
ifconfig
? What did you see?

4)

Assuming that your DLink NIC card is eth0. If eth0 has an IP similar to 192.168.1.x (where 2 <= x < 255) , then you can try out step 2 as mentioned above.

If not, post the result of step 3 and I'll get back to you.
 
Old 03-23-2005, 07:07 AM   #7
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Original Poster
Rep: Reputation: 15
Sorry to BUG you again but where do i say ifconfig? In the TERMINAL?
Its better to chat on msn or yahoo
msn id megadsonic@hotmail.com
yahoo id megadsonic

Last edited by megadsonic; 03-23-2005 at 07:10 AM.
 
Old 03-23-2005, 03:06 PM   #8
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Yes. ifconfig is a console program.

The following is a typical output:

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

[usr@test ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 01:50:FD:4A:2B:A4
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:fcff:fe3a:1aa3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:67385309 errors:0 dropped:0 overruns:0 frame:0
TX packets:119792379 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4156476518 (3.8 GiB) TX bytes:3002719951 (2.7 GiB)
Interrupt:5 Base address:0xa000

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

I want to see what is your inet addr now.
 
Old 03-24-2005, 04:59 AM   #9
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Original Poster
Rep: Reputation: 15
"ifconfig" doesnt work. It gives some kind of error.
 
Old 03-24-2005, 05:02 AM   #10
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Then, what kind of error?

You have to give people more information in order to help...
 
Old 03-24-2005, 05:13 AM   #11
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Original Poster
Rep: Reputation: 15
bash: ifconfig: command not found
 
Old 03-24-2005, 05:40 AM   #12
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
It is because usually ifconfig is in /sbin and (most likely) /sbin is not in your PATH envirnoment variable.

try run
Code:
/sbin/ifconfig
 
Old 03-24-2005, 06:09 AM   #13
megadsonic
Member
 
Registered: Feb 2005
Location: Dubai
Distribution: SuSE 10
Posts: 59

Original Poster
Rep: Reputation: 15
OK I finally agree I am a failure.
I tried my best but I couldnt get /sbin/ifconfig running.Whenever I try to open the file, the window just shuts off
 
Old 03-24-2005, 03:27 PM   #14
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Just like picking up any new skill, learning to use linux requires you to acitvely study. I guess you lack the basic of how to get thing done in linux and these information are readily available in a lot of HOW-TO.

And it is not necessarily command line tools (such as ifconfig). If you understand what I am trying to do (as outline in post #6) there is a lot of alternative way to achieve the result. e.g. GUI alternative in GNOME.

Besides, given we are communicate via the forum, it is very important for you to provide as much info as you can. Not just some oneliner. There is no way I can see what is actucally happening to your box, right?
 
Old 04-19-2005, 04:11 PM   #15
cmaxx
LQ Newbie
 
Registered: Apr 2005
Distribution: debian sarge
Posts: 1

Rep: Reputation: 0
This post was just getting interesting!

I have the same gateway but don't know what information i should be giving to ifconfig and route.

I've tried this script:

route add 192.168.1.0 eth0
ifconfig eth0 gateway
route add default gw gateway

where "gateway" is listed in /etc/hosts as:
192.168.1.1 gateway

This allows me to access the admin server but not the internet through it.
I'm running Debian Sarge and so do not have an /etc/sysconfig/network-script/ifcfg-eth0
file.
 
  


Reply



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
WAG54G and Bridging cherif Linux - Networking 5 08-30-2005 06:07 AM
M5414 laptop running fc3 bluknight43 Linux - Hardware 1 05-11-2005 12:12 PM
KDE 3.3.1 Not Running (FC3) Kenji Miyamoto Linux - Software 2 01-13-2005 01:07 AM
FC3 firewall fails after running for a while. johnnylo Linux - Security 7 01-05-2005 11:27 AM
Running edirectory/ConsoleOne on FC3 osnad Fedora 0 12-14-2004 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 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
Open Source Consulting | Domain Registration