Jump to content

Adsl connection


Lando
 Share

Recommended Posts

With the same Adsl ethernet line connection ,same PC , ...Mandriva live 2006 can do the interrnet connection and

Mandriva 2006 official not.

I've configured through Control Center ...

I'ved also tried using "adsl.-setup" procedure but still when I start the line with "adsl-start" i get Time-Out....

What can I do ? :wall:

Link to comment
Share on other sites

I have my linux box configured to do DHCP

 

my /etc/sysconfig/network-scripts/ifcfg-eth0 looks like this:

 

DEVICE=eth0

BOOTPROTO=dhcp

NETMASK=255.255.255.0

ONBOOT=yes

DHCP_HOSTNAME=XXX.XXX.X.XXX

MTU=1492

 

my /etc/resolv.conf looks like this:

search launchmodem.com

nameserver XXX.XXX.X.XXX

nameserver XXX.XXX.X.XXX

 

where XXX.XXX.X.XXX is my DHCP host

Edited by daniewicz
Link to comment
Share on other sites

Something is changed...I don't know why....

It says "connected" but the browser cannot get access to internet...cannot resolve

addresses...

In Control Center Internet configuration I check only on (...and it has always worked...)

"ADSL"

"eth0"

"write my ISP data"

"PPPoE"

 

MY >>> /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=none
IPADDR="No IP"
NETMASK="No mask"
BROADCAST=255
ONBOOT=no
METRIC=10
MII_NOT_SUPPORTED=yes
PEERDNS=yes
NETMASK="No mask"
IPADDR="None"

 

/etc/sysconfig/network-scripts/ifcfg-pppoe is missing...while I've it in Mandriva live.

Below ifconfig and route that should be wrong ( in MDRV live there isn't "lo")

 

[root@localhost lando]# adsl-start
........... Connected!
[root@localhost lando]# ifconfig
eth0	  Link encap:Ethernet  HWaddr 00:E0:4C:F0:93:06
	  inet6 addr: fe80::2e0:4cff:fef0:9306/64 Scope:Link
	  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  RX packets:18 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:1000
	  RX bytes:1083 (1.0 KiB)  TX bytes:1338 (1.3 KiB)
	  Interrupt:11 Base address:0xc000

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:8 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0
	  RX bytes:428 (428.0 B)  TX bytes:428 (428.0 B)

ppp0	  Link encap:Point-to-Point Protocol
	  inet addr:82.58.143.170  P-t-P:192.168.100.1  Mask:255.255.255.255
	  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
	  RX packets:4 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:3
	  RX bytes:82 (82.0 B)  TX bytes:54 (54.0 B)

[root@localhost lando]# route -n
Kernel IP routing table
Destination	 Gateway		 Genmask		 Flags Metric Ref	Use Iface
192.168.100.1   0.0.0.0		 255.255.255.255 UH	0	  0		0 ppp0
127.0.0.0	   0.0.0.0		 255.0.0.0	   U	 0	  0		0 lo
0.0.0.0		 192.168.100.1   0.0.0.0		 UG	0	  0		0 ppp0

 

Thanks a lot !

Link to comment
Share on other sites

Could you please explain exactly which type of network you are trying to set up? Is this an ASDL modem with static IP or dhcp? Is your computer connected directly to that modem or do you use a LAN/ethernet card for connecting to the ADSL modem?

 

I am asking because your post above reveals that you have an eth0 card entry as well as a ppp0 entry.

Link to comment
Share on other sites

With mine, I connect to the internet directly with a Speedtouch USB ADSL modem, (I also have a NIC (eth0) for connecting my 2 PC's together, but that has nothing to do with the net), anyway, after I set up/install the USB, I can't access anything on the net, although I am connected. All I have to do is go into the firewall(shorewall) set up through MCC, and select the pppo connection as the connection to protect and away I go.

 

I have also had to add the name servers to the resolve.conf, as mentioned above, but mostly that has been ok.

 

One other time, when I installed the modem after I had been accessing the net through an XP machines connection, I had to change the order of addresses in the resolve.conf. It had something like this,

 

nameserver 192.168.0.1

nameserver xxx.xxx.x.x

nameserver xxx.xxx.x.x

 

xxx.xxx.x.x = primary and secondary numbers given by my isp

 

all I done was change it like this

 

nameserver xxx.xxx.x.x

nameserver xxx.xxx.x.x

nameserver 192.168.0.1

 

and all was good.

 

On all occasions I had similar symtoms to what you are experiencing, being actually connected to the net, but not being able to access anything via browser, email etc, and thats what has fixed it for me.

Edited by jagwah
Link to comment
Share on other sites

With 2006 you must make sure that when setting up your internet connection in MCC you select LAN and NOT adsl even though you are adsl connected. This is where more than half of the connection help requests come from.

Using the etho indicates you are using Lan rather than USB (and that is smart).

 

Cheers. John.

Link to comment
Share on other sites

With 2006 you must make sure that when setting up your internet connection in MCC you select LAN and NOT adsl even though you are adsl connected. This is where more than half of the connection help requests come from.

Using the etho indicates you are using Lan rather than USB (and that is smart).

 

Cheers. John.

 

Though Mandriva live works fine with Adsl configuration ..............................

I've tried a Lan configuration ......without results. Maybe because I know very little

about Lan -

I've a Realtek|RTL-8139 interface (eth0) connected to a simple modem...not a router!

I'm not in a Lan ! I've tried this attempt because I've nothing to do! in desperation ! :wall:

Below ifconfig after a Lan configuration that ended with congratulations !!!!!!!!!..but that

doesn't work.

Then at the end of lan configuration I was asked to start X environment because of the changed

hostname !?!? But I 've typed "localhost" as hostname...........

Have I to reinstall the system the third time ?

 

[root@localhost lando]# ifconfig
eth0	  Link encap:Ethernet  HWaddr 00:E0:4C:F0:93:06
	  inet addr:1.2.3.4  Bcast:1.2.3.255  Mask:255.255.255.0
	  inet6 addr: fe80::2e0:4cff:fef0:9306/64 Scope:Link
	  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  RX packets:370 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:454 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:1000
	  RX bytes:27851 (27.1 KiB)  TX bytes:33034 (32.2 KiB)
	  Interrupt:11 Base address:0xe000

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:1091 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:1091 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0
	  RX bytes:109564 (106.9 KiB)  TX bytes:109564 (106.9 KiB)

ppp0	  Link encap:Point-to-Point Protocol
	  inet addr:87.3.172.21  P-t-P:192.168.100.1  Mask:255.255.255.255
	  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
	  RX packets:4 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:3
	  RX bytes:82 (82.0 B)  TX bytes:54 (54.0 B)

[root@localhost lando]# route -n
Kernel IP routing table
Destination	 Gateway		 Genmask		 Flags Metric Ref	Use Iface
192.168.100.1   0.0.0.0		 255.255.255.255 UH	0	  0		0 ppp0
1.2.3.0		 0.0.0.0		 255.255.255.0   U	 10	 0		0 eth0
127.0.0.0	   0.0.0.0		 255.0.0.0	   U	 0	  0		0 lo
0.0.0.0		 192.168.100.1   0.0.0.0		 UG	0	  0		0 ppp0

 

The resolv.config is below....and should be OK

 

*********************************************

 

nameserver 192.168.1.1

 

# ppp temp entry

nameserver 85.37.17.10 # ppp temp entry

nameserver 85.38.28.86 # ppp temp entry

 

************************************************

 

Can I copy the files from Mandriva live 2006 that works fine ?

Which files do I need to copy ?

 

Thanks a lot.

Link to comment
Share on other sites

I don't know which adsl modem you are using but from the few I have come across most seem to have another port besides usb.

This other port connected to the etho port on your mainboard can constitute a Lan as far as I know. The experts may tell me I am wrong. That is how I am connected up adsl and have not needed a router or switcher. I know I would need a router if I wanted to connect my two home computers to oneanother and to the adsl line but that is an entirely different situation.

 

Cheers. John.

Link to comment
Share on other sites

I think a lot of it depends where you come from. In the UK, we mostly have PPPOA connections. In other places, such as Canada PPPOE. The difference:

 

PPP over ATM

PPP over Ethernet

 

this is why some USB modems have ethernet ports, so that you can do PPP connections over ethernet directly from your LAN card in your machine. In the UK, at least on standard telephone lines, there is no PPPOE, and therefore I've never seen a USB modem with anything other than the USB cable and the port to connect to the phone socket.

 

This could be same situation for Lando, although he mentions he's using the ethernet port, but also says he's not. So is a little confusing.

Link to comment
Share on other sites

I don't know which adsl modem you are using but from the few I have come across most seem to have another port besides usb.

This other port connected to the etho port on your mainboard can constitute a Lan as far as I know. The experts may tell me I am wrong. That is how I am connected up adsl and have not needed a router or switcher. I know I would need a router if I wanted to connect my two home computers to oneanother and to the adsl line but that is an entirely different situation.

 

Cheers. John.

 

It's as you belived in ghost.

Last week my H.D. is dead and contained my old WinMe that

went to Internet trough USB connection (but with another modem with USB interface....).

That H.D. doesn't exist any more.The USB attachement is unplugged.

Tha new H.D. contain WinXP that works fine with the PC ethernet interface plugged to a simple modem with ethernet interface .Of course when I boot Mandriva this connection doesn't work.

Dont' say that motherboard builds a Lan with a ghost.

I've copied /etc/sysconfig/network-scripts/ from MDK live.... but it's not enough.

What can I copy now ?

Thanks.

 

PS-Sorry for my English....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...