LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-18-2004, 02:52 PM   #1
silburnl
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 7

Rep: Reputation: 0
Switching Between 'Modem' & 'LAN' Connection Types In Mandrake


Hi all

I've not had much luck at the MandrakeClub fora so far, so I thought I'd try here:

Background
==========
Recently put Mandrake 9.2 on a new Compaq Presario
(dual boot with WinXP until I can wean my g/f from MSoft). I had a
problem with the DSL modem (subsequently sorted out) but whilst I was
troubleshooting that issue I used DrakConnect to configure the WinModem
preinstalled on my Mdk box to try and see if I could dial out to the
internet and check out my ISP's tech support pages.


The Problem
===========
The upshot of this bit of experimentation is that the DrakConnect page
now features 'modem' as the internet access type and I haven't found a
way to get it to switch back to 'LAN'; which means that my now fixed
DSL/Router is being ignored by the Mandrake box (and the Winmodem isn't
working either, so I'm having to use my W2k laptop to write this
message).


So: ping to localhost works fine, but a ping to the router or out to the
internet gets 'Network is unreachable' or 'unknown host' responses.

I've done a bit of rummaging around in /etc/sysconfig and
/etc/netprofile which appears to be the areas that DrakConnect was
touching yesterday morning, but I'm reluctant to make any changes by
hand here until I'm a bit more knowledgeable about how these various
config files work together to drive the system.


The Question(s)
===============
(i) is there a way I can get DrakConnect
to switch from 'Modem' to 'LAN' without rooting around in the files by
hand?

(ii) (Assuming the answer to (i) is 'no') Is there a simple way to wipe
the slate clean so that DrakConnect starts as though from new? It
connected up the DSL modem easy as pie when I did the OS install first
time around and I'm happy to defer serious mucking around in the system
until I have more time available.

(iii) (Assuming (i) and (ii) are a bust) Where should I be focusing my
attention if I have to get my hands dirty and start hacking config files
for this? Pointers to HOW-TOs or similar forum posts are fine at this
stage - I'm willing to plunge in and twiddle away, but I'd like some
insight into what I'm twiddling before I start.


Technical Stuff
===============
Its Mandrake 9.2 on a Compaq Presario box.

The Hardware detector from the Mandrake Control Centre tells me that the
Ethernet is a Realtek RTL-8139 but doesn't appear to notice the
Winmodem.

I'm using a Netgear DM602 DSL Modem/Router connected directly to the
ethernet port.


Here's the output from ifconfig:

[luke@localhost luke]$ ../../sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:76:84:FF:A5
inet addr:10.0.0.10 Bcast:10.0.0.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:2758 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:427944 (417.9 Kb)
Interrupt:23 Base address:0xc000

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:2200 errors:0 dropped:0 overruns:0 frame:0
TX packets:2200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:146436 (143.0 Kb) TX bytes:146436 (143.0 Kb)


Here's the ipcfg-ppp0:

DEVICE="ppp0"
ONBOOT="no"
USERCTL="no"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="********"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT="5"
RETRYTIMEOUT="60"
BOOTPROTO="none"
PEERDNS="yes"
DNS1=***.***.***.***
DNS2=***.***.***.***


Here's the ipcfg-eth0:

DEVICE=eth0
BOOTPROTO=static
IPADDR=10.0.0.10
NETMASK=255.255.255.0
NETWORK=10.0.0.0
BROADCAST=10.0.0.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes


Regards
Luke
 
Old 02-23-2004, 07:01 AM   #2
silburnl
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Anyone???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lan connection and Mandrake 9.2 yarzy Linux - Newbie 7 02-03-2004 11:58 AM
Mandrake 9.1 - No LAN Connection ironicsky Linux - Networking 1 10-13-2003 11:35 PM
mandrake 7.2 connection with lan card Indybud Linux - Networking 1 05-23-2003 10:29 PM
LAN connection interferes with modem/KPPP ShakyJake Linux - Networking 3 04-22-2003 03:16 AM
Mandrake 8.1 Lan and internet connection RenaissanceMan Linux - Newbie 2 01-23-2002 04:58 PM


All times are GMT -5. The time now is 01:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration