LinuxQuestions.org
Review your favorite Linux distribution.
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 10-12-2007, 09:27 AM   #1
nobodie
LQ Newbie
 
Registered: Apr 2006
Location: Suhou, PR China
Distribution: fedora, ubuntu, knoppix, debian
Posts: 12
Blog Entries: 1

Rep: Reputation: 3
Angry Chinese pppoe with Amtium1.1 hack?


Ok: what is the problem?
I'm in China. nuff said. (hahahahahaha)
Alright here at my apartment there is a system setup that gives me connection to the internet with pppoe through windoze using a program called "Amtium v1.1". This unsigned script written by a company in Guangzhou does something kinky to the pppoe connection so that I don't have to pay for it, since I am a teacher and am supposed to get it for free.

It does work in the windoze partition of my daughter's dual boot (ubuntu studio and windoze system)

Now, the claim is that "it only works in Windoze". Well that just seems like a challenge to me, but i'm not a programmer any more (quit in '83 after i learned Basic and my ex-wife wanted to become a programmer) and don't want to do it. somebody must have hacked this one already, right?

Here is my setup:
The Lan comes in to a small hub which connects our two computers together and to the Lan. I have an Ubuntu only box, i am running the usual network admin stuff plus Roaring Penguin pppoe.conf gui and wireshark (a packetsniffer on steroids).
My daughter's box is running WindozeXP and Ubuntu studio (all this is 7.04), although I am thinking about dragging my box to the office (easy internet through the LAN) and upping to 7.10 before the rush next week.

It is interesting that I can ping out of the command line and get a return with the RP conf, but without changing a thing I can't get a return out of network admin. But this Amtium 1.1 is the key. If there is a hack for whatever it does (and I am pretty puzzled about that one) then I am probably all set.

I'll put the documentation that came with it under this post.

We can beat this thing, there's nothing I hate more than "your have to use windoze" !!!!!!!!!!!!!!!!!!
*************************************************************


[Version]
Signature = "$Windows NT$"
Class = NetService
ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
Provider = %Msft%
DriverVer = 06/24/2005,5.00.2071.1


[Manufacturer]
%Msft% = MSFT

[ControlFlags]


[MSFT]
%IAMT_Desc% = IAmt.ndi, amt_iamt


[IAmt.ndi]
AddReg = IAmt.ndi.AddReg, IAmt.AddReg
Characteristics = 0x4410 ; NCF_HAS_UI | NCF_FILTER | NCF_NO_SERVICE | NCF_NDIS_PROTOCOL !--Filter Specific--!!
CopyFiles = IAmt.Files.Init, IAmt.Files.Sys, IAmt.Files.Inf

[IAmt.ndi.Remove]
DelFiles = IAmt.Files.Init, IAmt.Files.Sys


[SourceDisksNames]
1=%DiskDescription%,"",,

[SourceDisksFiles]
IAmt.sys=1
netsf_m.inf=1

[DestinationDirs]
DefaultDestDir = 12
IAmt.Files.Init = 11 ; %windir%\System32
IAmt.Files.Sys = 12 ; %windir%\System32\drivers
IAmt.Files.Inf = 17 ; %windir%\inf


[IAmt.Files.Init]


[IAmt.Files.Sys]
iamt.sys,,,2

[IAmt.Files.Inf]
netsf_m.inf,,,2

[InfSourcePathInfo]

[IAmt.ndi.AddReg]
HKR, Ndi, HelpText, , %IAmt_HELP%

HKR, Ndi, FilterClass, , failover
HKR, Ndi, FilterDeviceInfId, , amt_iamtmp
HKR, Ndi, FilterDeviceInfFile, , netsf_m.inf
HKR, Ndi, Service, , IAmt
HKR, Ndi\Interfaces, UpperRange, , noupper
HKR, Ndi\Interfaces, LowerRange, , nolower
HKR, Ndi\Interfaces, FilterMediaTypes, , "ethernet, tokenring, fddi, wan"

[IAmt.AddReg]

HKR, Parameters, Param1, 0, 4

[IAmt.ndi.Remove.Services]
DelService = IAmt

; ----------------------------------------------------------------------
[Strings]
Msft = "Amtium"
DiskDescription = "Amtium IMD Driver Disk"

IAMT_Desc = "amtium"
IAmt_HELP = "amtium v1.1"

 
Old 10-13-2007, 05:39 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,725
Blog Entries: 54

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
The answer elsewhere seems "no". Should it be different here?
 
Old 10-14-2007, 02:19 AM   #3
nobodie
LQ Newbie
 
Registered: Apr 2006
Location: Suhou, PR China
Distribution: fedora, ubuntu, knoppix, debian
Posts: 12
Blog Entries: 1

Original Poster
Rep: Reputation: 3
Maybe, I posted these at the same time because I assumed that the memberships are different and varied. I often find that Ubuntu forums are slow and lack depth. Because I run a number of different boxes and lappies with different versions of Linux (Ubuntu flavors in three, add Mint to make it four if you like, Sidux in a lappie and Fedora on my office computer and nan old red hat version on a lappie i seldom use.

I find that Fedora forums are excellent for things relating to Fedora and redhat issues, but that for Ubuntu and debian issues I am still not happy with the choices I've tried (although except for language stuff the Sidux forum was somewhat better). So I am trying to get a solution to a thorny problem using the resources available. And as you point out there is still no answer from anyone.

While I understand and somewhat appreciate your concerns about "trolling" what I want is help with something that should be simple. I also notice that the answers suggested so far are all things I've tried and don't work, simple workarounds that don't address the real problem: a windows script that is unsigned, causes trouble and deserves to be FOSSed so that it can be made to work for everyone.

So, what solution do you recommend?
 
Old 10-14-2007, 06:16 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,725
Blog Entries: 54

Rep: Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970Reputation: 2970
Quote:
Originally Posted by nobodie View Post
Maybe, I posted these at the same time because I assumed that the memberships are different and varied. / While I understand and somewhat appreciate your concerns about "trolling"
These memberships are not related in any way. In this case it wasn't about trolling but about the technical obstacles (as already explained there).


Quote:
Originally Posted by nobodie View Post
what I want is help with something that should be simple (..) address the real problem: a windows script that is unsigned, causes trouble
No, it's not the script but you being part of a (CBMS?) network that forces you to use the Amtium eFlow Client which is attached to a billing system. The system uses multiple forms of authentication but there's no details, so I don't know what's in the BAS but likely it uses RADIUS just like other pay-for-access portals. The client stays connected(!) with the system during online time, serves as a kind of spying watchdog to detect (as they describe it): "illegal use", "illegal use of agents and other tools", does "inspection system loopholes", "support for user authentication failures and downline suggested that information feedback function", and much more (as if this isn't enough).


Quote:
Originally Posted by nobodie View Post
deserves to be FOSSed so that it can be made to work for everyone.
Since you already showed you don't want to do anything yourself:
Quote:
Originally Posted by nobodie View Post
Well that just seems like a challenge to me, but i'm not a programmer (..) and don't want to do it.
use a Windows box with the Amtium client to do ICS. Else you'll want to be careful since you're in .cn and if the docs are right everything gets noticed and logged. Try to find out what headend the client is talking to and what it says. You'll want a GNU/Linux box between the outbound connection and the Windows box that transparently sniffs and forwards traffic and lotsa docs on whatever Amtium uses, PPOE, RADIUS and so on. Hours of fun trying to unravel what goes down the wire guaranteed, but no guarantee you can make it work in the end. Ain't that grand...
 
Old 11-02-2007, 09:09 PM   #5
nobodie
LQ Newbie
 
Registered: Apr 2006
Location: Suhou, PR China
Distribution: fedora, ubuntu, knoppix, debian
Posts: 12
Blog Entries: 1

Original Poster
Rep: Reputation: 3
It has been a while since I posted here, I have been busy however working with Ingo on the Virtual Box forum on how to use VB to connect using a windows guest in Linux. I finally succeeded both with Virtual Box 1.4.0 and with the new 1.5.2 running in an Ubuntu host (both 7.04 and with 7.10).

So, if you are in China, and are given the AMtium 1.1 script (or anything else marked as "pppoe" that requires running a "Windows only script. there is a solution that allows you to connect using a virtual machine running windows and using this script.

If you are not conversant with Virtual Box have nno fear, it is wonderfully easy and incredibly well documented. There are both free and commercially supported versions. It runs windows faster than native speed (shocking isn't it?)and the only drawback so far relates to the graphics and sound cards which are not usefull to both host and guest systems simultaneously. there are solutions, but you can discover those yourself.

anyway, this is only a tiny plug for VB. the solution to the pppoe problem is in the forum where I discuss it with Ingo and Dietrich, here is the link:
<http://forums.virtualbox.org/viewtopic.php?t=2278&highlight=>

One final thing. In talking with a rep from the ISP, he made a curious statement: "Chinese pppoe is not the same as pppoe in the west" Huh?. Well the deal is that they use some unsigned scripts to do some really funky stuff to record your session and to record your time on line. Yes this slows the connection, but it is not used for inter-china connections, only for foreign connections. So the international connections are filtered and slowed by the filtering process. i think they are doing it this way to overcome any advantage gained from trying to use a proxy. This means that for most Chinese people there is only a problem when they try to go to a site outside China, and why would they want to do that, they are mostly not in Chinese!

If you meditate on that you get a better understanding of the situation in China. The Inter-Chinese net is blazingly fast. International is very slow. Who is more advanced? ummmmm.

good luck!
 
  


Reply

Tags
internetconnection, network, pppoe


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
rp-pppoe as PPPOE server with RADIUS hostmaster Linux - Networking 4 09-25-2009 03:59 AM
pppoe/rp-pppoe on Debian DaveQB Linux - Networking 12 08-20-2007 06:14 PM
PPPOE/xDSL any alternatives for rp-pppoe package.. deepclutch Linux - Software 2 02-04-2006 10:59 PM
pppoe & pppoe-server warning (solved) ggalvan Slackware 0 02-04-2006 06:58 AM
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-14-2004 12:35 AM


All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
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