Welcome, Guest. Please login or register.

Author Topic: Any Linux experts here?  (Read 3836 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bilko9070Topic starter

  • Jr. Member
  • **
  • Join Date: Nov 2005
  • Posts: 90
    • Show only replies by bilko9070
    • Http://www.retrogamingscoreboard.e7.to
Any Linux experts here?
« on: January 05, 2006, 01:15:52 AM »
Im having several troubles with Suse 10.0(evaluation edition).

The one which is really bugging me is that i cant get my speedtouch 330 usb modem to work.

The device is listed as `active` in the detailed hardware scan, but i cant get any internet activity out of it..

I have configured the `dsl` panal and entered isp username etc.

Any ideas helpfull people? :-o
 

Offline Merc

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 312
    • Show only replies by Merc
    • http://chebucto.ns.ca/~ah210/Profile.html
Re: Any Linux experts here?
« Reply #1 on: January 05, 2006, 01:56:52 AM »
Does your ISP use PPPoE?  You'll need to run the/a PPPoE client... although it sounds like that might be what the DSL panel is for -- maybe it's the other way around and your ISP does NOT use PPPoE, and you just need to set the modem up as another interface and set it to obtain its IP?

Your best bet is probably to contact your ISP and find out if their service is through PPPoE or a standard straight-ahead TCP-IP connection.
 

Offline bilko9070Topic starter

  • Jr. Member
  • **
  • Join Date: Nov 2005
  • Posts: 90
    • Show only replies by bilko9070
    • Http://www.retrogamingscoreboard.e7.to
Re: Any Linux experts here?
« Reply #2 on: January 05, 2006, 03:49:55 AM »
On my XP network panal, when the modems connected it says.

Server Type: PPP
Transports:  TCP/IP

I did set it up as PPPoATM  , which i believe is correct.
 

Offline countzero

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 1938
    • Show only replies by countzero
    • http://blog.coze.org
Re: Any Linux experts here?
« Reply #3 on: January 05, 2006, 04:00:06 AM »
Quote

bilko9070 wrote:

I did set it up as PPPoATM  , which i believe is correct.


my limited networking knowledge tells me that you're highly unlikely to have an ATM connection. What are the other choices you have ? You should also check with your ISP about your connection before you try to configure the network panel.
I believe in mt. Fuji
 

Offline bilko9070Topic starter

  • Jr. Member
  • **
  • Join Date: Nov 2005
  • Posts: 90
    • Show only replies by bilko9070
    • Http://www.retrogamingscoreboard.e7.to
Re: Any Linux experts here?
« Reply #4 on: January 05, 2006, 04:33:03 AM »
PPPoA is what i ment i think....

This is from the isp website..

VPI SETTING    0 (zero)
VCI SETTING    38
CONNECTION PIPE    Relates to the part of your ADSL login after the @ symbol as specified on your Account Card e.g. lon1-aj1e.demonadsl.co.uk
PROTOCOL TYPE OR ENCAPSULATION METHOD    PPPoA (also known as RFC2364 in some equipment)
AUTHENTICATION TYPE    CHAP
TRAFFIC TYPE    UBR
FRAMING OR MULTIPLEXING METHOD    VC/MUX
MODE ITU    G.dmt
DIAL UP NUMBER    Some modems may require you to enter 0,38 (or 0 as the area code and 38 as the number)
IP ADDRESS/RANGE    As specified on your Account Card
 

Offline asian1

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1359
    • Show only replies by asian1
Re: Any Linux experts here?
« Reply #5 on: January 05, 2006, 05:36:43 AM »
Try Mepis.
This distro is compatible with speedtouch 330 and SATA:

http://www.mepislovers.org/modules/newbb/viewtopic.php?topic_id=12227&forum=8

 

Offline InTheSand

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 1766
    • Show only replies by InTheSand
    • http://www.ali.geek.nz
Re: Any Linux experts here?
« Reply #6 on: January 05, 2006, 08:17:10 AM »
Agreed!

Ethernet-based routers are much better and have the advantage that they work with anything, even Amigas!

My distro of choice is Ubuntu - it just works...

Some Ubuntu / Speedtouch info is here.

 - Ali
 

Offline bilko9070Topic starter

  • Jr. Member
  • **
  • Join Date: Nov 2005
  • Posts: 90
    • Show only replies by bilko9070
    • Http://www.retrogamingscoreboard.e7.to
Re: Any Linux experts here?
« Reply #7 on: January 05, 2006, 09:37:04 AM »
I know i could get a router but however, im poor and determined.......

Can i ask, why would downgrading work?  If i try to install suse 9.1 i just end up having to disable my sata device before liunx will do anything, which 10.0 does not seem to mind.. :-x
 

Offline prowler

  • Full Member
  • ***
  • Join Date: Sep 2002
  • Posts: 182
    • Show only replies by prowler
Re: Any Linux experts here?
« Reply #8 on: January 05, 2006, 02:23:39 PM »
Quote

bilko9070 wrote:
PPPoA is what i ment i think....

This is from the isp website..

VPI SETTING    0 (zero)
VCI SETTING    38
CONNECTION PIPE    Relates to the part of your ADSL login after the @ symbol as specified on your Account Card e.g. lon1-aj1e.demonadsl.co.uk
PROTOCOL TYPE OR ENCAPSULATION METHOD    PPPoA (also known as RFC2364 in some equipment)
AUTHENTICATION TYPE    CHAP
TRAFFIC TYPE    UBR
FRAMING OR MULTIPLEXING METHOD    VC/MUX
MODE ITU    G.dmt
DIAL UP NUMBER    Some modems may require you to enter 0,38 (or 0 as the area code and 38 as the number)
IP ADDRESS/RANGE    As specified on your Account Card


Just had a quick look for the specs:
• Easy installation
   - Easy to use installation wizard.
   - Software upgradable
   - Supports PPPoA,PPPoE and LAN functionality

So PPPoA and PPPoE.

It has been sometime since I used DSL on a Linux machine but I did used to use PPPoE. From my rather hazy memory this worked in conjunction with pppd. In pppd you can specify authentication type. PAP is generally more common, from the above it appears your ISP uses CHAP. Make sure your connect script has the correct type selected since they are not compatible with each other.

Pretty much all I can think of for now. What do your log files say is going on?
 

Offline Merc

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 312
    • Show only replies by Merc
    • http://chebucto.ns.ca/~ah210/Profile.html
Re: Any Linux experts here?
« Reply #9 on: January 06, 2006, 12:10:00 AM »
I think SuSE includes a start/stop utility for PPPoE, see if you have something like this and see what happens when you start it -- you should, when everything is working, have a ppp0 interface up and running.  If you go to the command line and type "/sbin/ifconfig ppp0", you should see something printed back.

**Edit**

I just booted up my SuSE box and had a look -- are you using the "DSL" configuration utility under Yast2/Networking?  I would think you want to have it set to PPP over Ethernet (PPPoE), that's what all DSL's I've seen use except in the case of a standard TCP setup.

If you don't have it set to connect on demand or at boot time, then you'll need to run KInternet from the K menu (assuming you are running KDE) to get online.

Hope that helps!
 

Offline bilko9070Topic starter

  • Jr. Member
  • **
  • Join Date: Nov 2005
  • Posts: 90
    • Show only replies by bilko9070
    • Http://www.retrogamingscoreboard.e7.to
Re: Any Linux experts here?
« Reply #10 on: January 07, 2006, 08:28:52 AM »
Right!
I would imagine that the USB modem has its drivers etc loaded ok because both green lights are on which usually means the hardware is active.
The device shows up correctly under the USB device monitor as well.
So, thats the driver side of things i assume to be ok.

I am using the DSL network setup in YaST.

I have four options...

PPP over ATM
PPP over Eithernet
CAPI for ADSL
Point to Point Tunneling Protocall.

I would assume that the only one which applies to me is `PPP over ATM`, because that is the only one which gives me the option to enter the VPI/VCI (0.38).

Here is the connection log for it.
*********************************
SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: lurking
pppd[0]: Plugin pppoatm.so loaded.
pppd[0]: PPPoATM plugin_init
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: PPPoATM setdevname_pppoatm - SUCCESS:0.38
pppd[0]: Renamed interface ppp0 to dsl0
pppd[0]: Using interface dsl0
Status is: lurking
pppd[0]: Couldn't increase MTU to 1500
pppd[0]: Couldn't set up demand-dialled PPP interface: Inappropriate ioctl for device
Status is: disconnected
Status is: disconnecting
pppd[0] died: Fatal pppd error (exit code 1)
****************************************


It looks like the other options are only for a connectin via router because they give me network card setup options etc but i am using a USB modem.
Just in case it gives any clues i have included the logs for attempts via the other options.......

************************************
CAPI for ADSL

SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: lurking
pppd[0]: Plugin capiplugin.so loaded.
pppd[0]: capiplugin: $Revision: 1.36 $
pppd[0]: capiconn:  1.13
pppd[0]: capiplugin: CAPI_REGISTER failed - CAPI not installed (0x1009) [No such file or directory (2)]
Status is: disconnected
pppd[0] died: Fatal pppd error (exit code 1)
************************************************

************************************************
PPP over Eithernet

SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Interface is eth0.
Status is: lurking
pppd[0]: Plugin rp-pppoe.so loaded.
pppd[0]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.3
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: Renamed interface ppp0 to dsl0
pppd[0]: Using interface dsl0
Status is: lurking
pppd[0]: Couldn't increase MTU to 1500
pppd[0]: Couldn't increase MRU to 1500
pppd[0]: local  IP address 192.168.99.1
pppd[0]: remote IP address 192.168.99.99
pppd[0]: Starting link
Establishing connection due to activity.
Status is: connecting
pppd[0]: Timeout waiting for PADO packets
Timeout Waiting for PADO packets. Check your setup and cables and try again.
pppd[0]: Unable to complete PPPoE Discovery
pppd[0]: Starting link
Establishing connection due to activity.
Status is: connecting
pppd[0]: Timeout waiting for PADO packets
Timeout Waiting for PADO packets. Check your setup and cables and try again.
pppd[0]: Unable to complete PPPoE Discovery
pppd[0]: Starting link
Establishing connection due to activity.
Status is: connecting
pppd[0]: Timeout waiting for PADO packets
Timeout Waiting for PADO packets. Check your setup and cables and try again.
pppd[0]: Unable to complete PPPoE Discovery
********************************************


********************************************
Point to Point tunneling protocall.

SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: lurking
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: Renamed interface ppp0 to dsl0
pppd[0]: Using interface dsl0
Status is: lurking
pppd[0]: local  IP address 192.168.99.1
pppd[0]: remote IP address 192.168.99.99
pppd[0]: Starting link
Establishing connection due to activity.
Status is: connecting
pppd[0]: Serial connection established.
pppd[0]: Connect: dsl0 <--> /dev/pts/0
****************************************




I am now considering getting a router as they are cheap and people rekon that they are easier to get working.  I dont see why they are easier tho because i dont really understand how they work.  Could someone explain how easy it would be to get the connection working if i had a router?

 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Any Linux experts here?
« Reply #11 on: January 07, 2006, 08:51:22 AM »
Quote

bilko9070 wrote:
I am now considering getting a router as they are cheap and people rekon that they are easier to get working.  I dont see why they are easier tho because i dont really understand how they work.  Could someone explain how easy it would be to get the connection working if i had a router?

They are a lot easier. Just use the YaST Network configuration to set your Ethernet card to use DHCP, then connect a network cable from the Ethernet port to the router. It should automatically pick up an IP address, then you can connect to the router through its web interface as per the instructions in the router's manual, and in there you specify the connection details.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: Any Linux experts here?
« Reply #12 on: January 07, 2006, 09:52:23 AM »
Finding an inexpensive router that supports PPPoA is probably more difficult than getting your USB modem working directly. (Lack of third-party consumer support and control over customer equipment is one of the reasons ISPs choose PPPoA over other DSL configurations.)

It sounds like smpppd isn't communicating with your modem properly. You can ignore the "Couldn't increase MTU to 1500" error, which is just a warning letting you know the requested MTU isn't supported by the interface. "Inappropriate ioctl for device" is the error we're trying to fix.

Check http://speedtouch.sourceforge.net/ for the latest Speedtouch driver. The included INSTALL file has instructions for compiling, installing, and configuring the driver.

The latest driver combined with the correct smpppd PPPoA configuration should fix the problem.

I've never used smpppd or a Speedtouch USB modem, so I could be leading you down a dark and dangerous path.

Trev
 

Offline bilko9070Topic starter

  • Jr. Member
  • **
  • Join Date: Nov 2005
  • Posts: 90
    • Show only replies by bilko9070
    • Http://www.retrogamingscoreboard.e7.to
Re: Any Linux experts here?
« Reply #13 on: January 07, 2006, 10:20:31 AM »
Ok, i have had a small result!
I found this script.
http://steve-parker.org/speedtouchconf/

It runs then fails at the last part.  I will contact the author of the script but i thought id print a log incase anyone here might know what is going on!

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

linux:~ # cd /root/Desktop/speedtouchconf-2.0-25_Nov_2005
linux:~/Desktop/speedtouchconf-2.0-25_Nov_2005 # ./speedtouchconf.sh
(c) Steve Parker, 17 Oct 2002 - 2005 (http://steve-parker.org)
speedtouchconf comes with ABSOLUTELY NO WARRANTY; for details type:
    ./speedtouchconf.sh -gpl
This is free software, and you are welcome to redistribute it
under certain conditions.
See the included file COPYING for more details.

************************************************
*                                              *
*       speedtouchconf.sh by Steve Parker      *
*                                              *
*    http://speedtouchconf.sourceforge.net/    *
* based on speedtouch.sourceforge.net project  *
*                                              *
************************************************

If you have any problems with this script, mail me
(steve at steve-parker dot org) with the files
/tmp/speedtouch.txt and /var/log/messages for diagnosis.
  Linux kernel version 2.6 okay.
/root/Desktop/speedtouchconf-2.0-25_Nov_2005
*******************************************
*                                         *
*     Please select your ISP Settings     *
*                                         *
*******************************************

  Country/ISP            VPI    VCI
  Belgium, ?              8     35
  Denmark, Orang          8     35
  France, wanado          8     35
  France, ?               8     67
  Italy, ?                8     35
  Netherlands, ?          8     48
  Netherlands             0     35
  Poland (NeoStrada)      0     35
  UK, Any                 0     38
  Austria (AON)           8     48
  US, BellSouth           8     35
  Singapore Pacificnet    0    100
Please type your VPI VCI numbers (eg, 0 38 for UK)
0 38
Please enter your ISP Login ID (eg another@hg1.btinternet.com)
*********@home500.dslaccess.co.uk
Please enter your ISP Password
*******
Settings:
  VPI / VCI : 0 / 38
  Login     : **********@home500.dslaccess.co.uk
  Password  : *******
Are these correct? (Y/N)
y
No further user interaction is required.
Configuring SpeedTouch Driver...
Software Configuration - SUCCESS
Building SpeedTouch Driver...
Software Build - SUCCESS
Installing SpeedTouch Driver...
Software Installation - SUCCESS
Creating ppp files in /etc/ppp
You can ignore any insmod hints here...

   *** Configuration finished. Starting the connection ***

Sat Jan  7 10:02:18 GMT 2006
The modem lights should start flashing for approx. 60 seconds...
You might see some messages about USBDEVFS_BULK failed - you can ignore this.
Sat Jan  7 10:02:18 GMT 2006
The modem_run command failed (code 235)
modem_run results:
Mutex value not OK
FAILED because of modem_run error 235
linux:~/Desktop/speedtouchconf-2.0-25_Nov_2005 #

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

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Any Linux experts here?
« Reply #14 on: January 07, 2006, 10:28:42 AM »
Try this or this

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10