LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   get a WAG54G running in FC3 (https://www.linuxquestions.org/questions/linux-newbie-8/get-a-wag54g-running-in-fc3-304632/)

megadsonic 03-22-2005 05:50 AM

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 :newbie: so will need to know how to do things

ahwkong 03-22-2005 06:16 AM

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

megadsonic 03-22-2005 06:20 AM

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

ahwkong 03-22-2005 03:13 PM

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.

megadsonic 03-23-2005 04:58 AM

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


ahwkong 03-23-2005 06:41 AM

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.

megadsonic 03-23-2005 07:07 AM

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

ahwkong 03-23-2005 03:06 PM

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.

megadsonic 03-24-2005 04:59 AM

"ifconfig" doesnt work. It gives some kind of error.

ahwkong 03-24-2005 05:02 AM

Then, what kind of error?

You have to give people more information in order to help...

megadsonic 03-24-2005 05:13 AM

bash: ifconfig: command not found

ahwkong 03-24-2005 05:40 AM

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

try run
Code:

/sbin/ifconfig

megadsonic 03-24-2005 06:09 AM

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

ahwkong 03-24-2005 03:27 PM

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?

cmaxx 04-19-2005 04:11 PM

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.


All times are GMT -5. The time now is 05:59 PM.