LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internet Connection Mandrake 9.2 (https://www.linuxquestions.org/questions/linux-newbie-8/internet-connection-mandrake-9-2-a-123577/)

smccollom 12-07-2003 01:18 PM

Internet Connection Mandrake 9.2
 
Hi
I asked this in the networking forum and got no reply. I thought I would try here. I have a Linksys Wireless Access Point That works well with Windows XP. I have Mandrake 9.2 installed on my other Hard Drive. My 2wire Dsl modem I think uses DHCP. I haven't been able to connect to the internet on the Linux side. Does anyone use a wireless Access Point that can tell me how to get an internet connection?

iainr 12-07-2003 03:03 PM

I have a Linksys wireless Cable/DSL modem and just never had a problem. I've tried with and without WEP and with and without DHCP and it all worked fine for me.

Do you know that the wireless adapter is working OK?

smccollom 12-07-2003 08:27 PM

Yea everything works in Windows. Do I know that Linux is detecting it? I am not sure how to tell. When I go into the networking and I launch the wizard it still says not connected.

iainr 12-08-2003 02:40 AM

No problem smccollom,

Can you open up a shell window and type in the command
ifconfig
Then post the output of the command here.

smccollom 12-08-2003 04:53 AM

Thanks for your help! I hope this means something to you because it doesn't mean anything to me

Ifconfig
Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX packets:62 errors:0 dropped: 0 overuns:0 frame: 0
TX packets: 62 errors: 0 dropped: 0 overruns: 0 carrier: 0
collision: 0 txqueuel en: 0
RX bytes: 3914 (3.8 kb) TX bytes: 3914 (3.8 kb)

fatblueduck 12-08-2003 05:24 AM

me too
 
I'm having a similar problem connecting to a router. I hope the people in this thread will help me as well and I hope I'm not doing anything rude, by appealing for help among someone else's problem.

My parents are strict users of Microsoft, so when they bought a router, they bought the Microsoft MN 700.

The guy at the computer store told my parents that their son would be able to connect to the router with his linux box

My computer is a laptop, running a windows box and a mandrake 9.1 box. I am trying to connect to the LAN with a Realtek ethernet card. When I try to ping the router, I'm given the message 'Network is unreachable'. My windows box is able to connect.

when I type /sbin/ifconfig this is the reply:

eth0 Link encap:Ethernet HWaddr 00:02:3F:81:10:91
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x1800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:126 errors:0 dropped:0 overruns:0 carrier:10
collisions:0 txqueuelen:0
RX bytes:8174 (7.9 kb) TX bytes:8174 (7.9 b)

I've looked on several message boards, I haven't been able to connect to the internet at all because of this problem, and since my laptop has a winmodem.

silverbullet 12-08-2003 03:50 PM

sounds like it is seeing your nic.... the only problem is that the signal probably isnt hitting the router... have you cloned the mac address yet? it sounds like everything seems to be able to work just have to find out how to clone the mac address and get it to see the router. hmmmm

iainr 12-09-2003 03:01 AM

Sorry - posted in error.

iainr 12-09-2003 03:33 AM

Quote:

Originally posted by smccollom
Thanks for your help! I hope this means something to you because it doesn't mean anything to me

Ifconfig
Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX packets:62 errors:0 dropped: 0 overuns:0 frame: 0
TX packets: 62 errors: 0 dropped: 0 overruns: 0 carrier: 0
collision: 0 txqueuel en: 0
RX bytes: 3914 (3.8 kb) TX bytes: 3914 (3.8 kb)

It looks like the computer isn't seeing your ethernet adapter at all. The ifconfig output shows the loopback address, which is just an internal address that allows your computer to talk to itself.

So, why isn't the computer seeing the adapter? There are two main possibilities. One is that the hardware isn't being recognised at all. The other is that it can see the hardware but doesn't have the right driver installed.

To check which, you could go into the Hardware section of the Mandrake Control Centre and list all the hardware. If you can find the adapter listed there, post what it says here. If not, the computer hasn't picked up the hardware at all.

iainr 12-09-2003 03:44 AM

Re: me too
 
Quote:

Originally posted by fatblueduck
I'm having a similar problem connecting to a router. I hope the people in this thread will help me as well and I hope I'm not doing anything rude, by appealing for help among someone else's problem.

when I type /sbin/ifconfig this is the reply:

eth0 Link encap:Ethernet HWaddr 00:02:3F:81:10:91
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x1800

You don't actually appear to have an IP address configured on this interface at all.

As a quick test, you could find out what IP address you connect with on Windows and configure that on Linux, either through the Mandrake Control Centre or, as root, with ifconfig.

Example : /sbin/ifconfig eth0 192.168.1.2 netmask 255.255.255.0

fatblueduck 12-09-2003 04:22 PM

You don't actually appear to have an IP address configured on this interface at all.

As a quick test, you could find out what IP address you connect with on Windows and configure that on Linux, either through the Mandrake Control Centre or, as root, with ifconfig.

Example : /sbin/ifconfig eth0 192.168.1.2 netmask 255.255.255.0

___________________________________________________________

I configured my eth0 and netmask addresses the way you told me to. I'm still not able to connect to the network. I'm not sure what else I can try. Should I buy a different router?

toastermaker 12-09-2003 07:28 PM

fatblueduck,

Until someone who knows thier stuff can get back to you Dont Go Buy A Different Router!!
Not yet anyway.
I just got my router going the other day. It took about 3 days of the people here helping me out but they got it going for me.
What I was told was "routers just work" more or less

hang in there

iainr 12-10-2003 02:09 AM

fatblueduck,

A very small tip on the forum : you can "quote" someone else's post by clicking on the "quote" button at the bottom right of the post. It just looks clearer than way.

Its OK that it isn't working yet. We need to do a bit more problem determination I think.

Can you do the following please.
1. Post another /sbin/ifconfig output.
2. Post the output of netstat -r
3. Post the IP address of the router (from when you try to ping it).
4. Can you ping yourself by IP address? e.g. if the IP address of your card is 192.168.1.2, can you ping 192.168.1.2 OK?

fatblueduck 12-10-2003 03:33 AM

my router's IP address is 192.168.2.89 I am able to ping myself (typing '/sbin/ifconfig/ eth0 192.168.2.89 netmask 255.255.255.0' gave me the same address as the router, I believe) I don't know how to make it stop pinging though.

here is the out put of /sbin/ifconfig:

eth0
Link encap: Ethernet HWaddr 00:02:3F:81:10:91
inet addr: 192.168.2.89 Bcast:192.168.2.255 Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquelen:100
RX bytes:0 (0.0 b) TX bytes:276 (276.0 b)
Interrupt:17 Base address:0x1800

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:946 errors:0 dropped:0 overruns:0 frame:0
TX packets:946 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquelen:0
RX bytes:75744 (73.9 kb) TX bytes:75744 (73.9 kb)

netstat -r:
Kernel IP routing table
Destination----Gateway---Genmask---------Flags-------MSS Window--irtt-Iface
192.168.2.0---*-------------255.255.255.0--U---------------0-0-------------0-eth0
127.0.0.0-------*--------------255.0.0.0----------U---------------0-0-------------0-lo

iainr 12-10-2003 05:01 AM

Quote:

Originally posted by fatblueduck
my router's IP address is 192.168.2.89 I am able to ping myself (typing '/sbin/ifconfig/ eth0 192.168.2.89 netmask 255.255.255.0' gave me the same address as the router, I believe) I don't know how to make it stop pinging though.

No problem. You need to change your IP address so its different to the router. Try setting it to 192.168.2.90 with the ifconfig command. You need to have a different IP address to the router, but one on the same "subnet". This means you can pick any address in the range 192.168.2.1 - 192.168.2.254 as long as no other computer on your subnet already has it.


All times are GMT -5. The time now is 07:10 AM.