How to create a wired DSL connection with Puppy 4.0 Beta?

Using applications, configuring, problems
Post Reply
Message
Author
oli
Posts: 194
Joined: Wed 30 Aug 2006, 09:04
Location: Germany, Frankfurt

How to create a wired DSL connection with Puppy 4.0 Beta?

#1 Post by oli »

Do you know how to get a wired ethernet connection (without a router, no WLAN) within Puppy 4.0 beta? There is no Roaring Penguin available, so I did the following within a shell:

ifconfig eth0 up

pppoe-setup (I entered the same values as in my running Puppy 2.14-configuration)

Then I checked /etc/ppp/pppoe.conf. The entries are the same as in Puppy 2.14.

pppoe-start

But I cannot connet to the internet, it doesn't work. Could you help me, please?

giac_fab
Posts: 113
Joined: Thu 25 Jan 2007, 23:15

#2 Post by giac_fab »

Waiting for a better solution I solved in this way:

installed :

http://www.murga-linux.com/puppy/viewto ... ch&id=5986

You will not see gui because of a problem with tlk libraires BUT :

copy all folder /etc/ppp from your last internet-working-puppy

then execute :

/etc/firewall-standalone ( or the one you need )

then with rxvt :

pppoe-wrapper start NAME_OF_CONNECTION ( the one you used with puppy 2.14)

It's not an elegant way but it works ( i'm using it :D )


You can use also :

pppoe-wrapper stop NAME_OF_CONNECTION

pppoe-wrapper status NAME_OF_CONNECTION
:oops: I know, my english is very bad :oops:
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.

oli
Posts: 194
Joined: Wed 30 Aug 2006, 09:04
Location: Germany, Frankfurt

#3 Post by oli »

Thank you for your answer. But I come as far as before. If I run pppoe-setup or if I choose your way it ends up with the following result:

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:8F:E7:59:6A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1640 (1.6 KiB) TX bytes:1747 (1.7 KiB)
Interrupt:10 Base address:0x8000

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

ppp0 Link encap:Point-to-Point Protocol
inet addr:84.59.192.99 P-t-P:84.59.192.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:8 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:54 (54.0 B) TX bytes:83 (83.0 B)

But when I run Mozilla (or Gftp) I cannot open the url. What can I do?

giac_fab
Posts: 113
Joined: Thu 25 Jan 2007, 23:15

#4 Post by giac_fab »

Strange ... for me it works ...

# pppoe-wrapper start Alice
........ Connected!
#

Are you sure you did all the step I wrote in my previus post ?

Does an error shows up when you do pppoe-wrapper start XXX ??? Timeout ???

What about icon on system tray ? Does it appear ?

Now I'm using puppy Dingo .... this morning I can't
:oops: I know, my english is very bad :oops:
Give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#5 Post by Béèm »

oli,
Your eth0 connection doesn't have an ip address. It won't work.
You have to do

Code: Select all

ifconfig eth0 xxx.xxx.xxx.xxx
wher xxx etcc should be in the range of your adsl modem.
(could be 10.0.0.xxx or 192.168.0.xxx)
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

oli
Posts: 194
Joined: Wed 30 Aug 2006, 09:04
Location: Germany, Frankfurt

#6 Post by oli »

I receive a dynamic IP from my provider, that's why I cannot enter an IP. And in Puppy 2.14 everything is fine, but not in Dingo. So, problem is still unsolved.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#7 Post by Sage »

Shouldn't cause any problems. With other distros, sometimes my card has been detected as eth1 even when there's no router, no wireless and it's really eth0. No idea why - hasn't happened in Puppy, though.
Worth a try. Just enter ifconfig eth1 xxx.xxx.xxx.xxx up.
You might have to manually edit or create your nameserver in /etc/resolv.conf.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#8 Post by Béèm »

oli wrote:I receive a dynamic IP from my provider, that's why I cannot enter an IP. And in Puppy 2.14 everything is fine, but not in Dingo. So, problem is still unsolved.
The IP you get has nothing to do with the local IP's.
If IP of the adsl modem isn't in the same range as the IP of your ethernet port, you'll never get a connection.

So:
Try to find the IP of your adsl modem. you should have a manual)
set the IP manually of the ethernet port in the same range.
From that point on you can do more diagnostic.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

oli
Posts: 194
Joined: Wed 30 Aug 2006, 09:04
Location: Germany, Frankfurt

#9 Post by oli »

I solved the problem. The problem is that the file /etc/resolv.conf is missing after executing pppoe-start. Instead of this file there is a symbolic link to /etc/ppp/resolv.conf. And this is a symbolic link back to /etc/resolv.conf. Both links direct to each other. You have to copy your resolv.conf (e.g. from Puppy 2.14) to /etc after executing pppoe-start.

The question is, how to get the file /etc/resolv.conf if you are new to Puppy and have not this file from an old Puppy 2.x.

Post Reply