|
2010-06-27
, 00:10
|
Posts: 4 |
Thanked: 1 time |
Joined on Jun 2010
|
#53
|
Code:# cd /lib/modules/2.6.28-omap1/ # depmod -a # insmod slhc.ko # insmod ppp_generic.ko # insmod ppp_async.ko # insmod sha1_generic.ko # insmod ppp_mppe.ko
# insmod slhc.ko insmod: error inserting 'slhc.ko': -1 Invalid module format
# dmesg | grep slhc slhc: disagrees about version of symbol struct_module
The Following User Says Thank You to widowmad For This Useful Post: | ||
|
2010-06-27
, 02:50
|
|
Posts: 466 |
Thanked: 180 times |
Joined on Feb 2010
|
#54
|
|
2010-06-28
, 19:26
|
Posts: 4 |
Thanked: 1 time |
Joined on Jun 2010
|
#55
|
|
2010-06-28
, 19:52
|
Posts: 4 |
Thanked: 1 time |
Joined on Jun 2010
|
#56
|
|
2010-07-05
, 06:28
|
Posts: 5 |
Thanked: 0 times |
Joined on Jul 2010
|
#57
|
/usr/sbin # dpkg -i /home/user/MyDocs/pptp-linux_1.7.2-1_armel.deb
(Reading database ... 27799 files and directories currently installed.)
Preparing to replace pptp-linux 1.7.2-1 (using .../pptp-linux_1.7.2-1_armel.deb) ...
Unpacking replacement pptp-linux ...
dpkg: dependency problems prevent configuration of pptp-linux:
pptp-linux depends on ppp (>= 2.4.2); however:
Package ppp is not installed.
dpkg: error processing pptp-linux (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pptp-linux
/usr/sbin # dpkg -i /home/user/MyDocs/ppp_2.4.4rel-8osso4_armel.deb
(Reading database ... 27799 files and directories currently installed.)
Unpacking ppp (from .../ppp_2.4.4rel-8osso4_armel.deb) ...
Removing any system startup links for /etc/init.d/ppp ...
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit status 2
dpkg: error processing /home/user/MyDocs/ppp_2.4.4rel-8osso4_armel.deb (--install):
short read in buffer_copy (backend dpkg-deb during `./usr/sbin/pppd')
Errors were encountered while processing:
/home/user/MyDocs/ppp_2.4.4rel-8osso4_armel.deb
/usr/sbin #
|
2010-08-09
, 10:51
|
Posts: 21 |
Thanked: 1 time |
Joined on Aug 2010
|
#58
|
Bareword found where operator expected at /usr/sbin/pptpsetup line 234, near "delete the file /etc"
(Might be a runaway multi-line // string starting on line 193)
(Do you need to predeclare delete?)
String found where operator expected at /usr/sbin/pptpsetup line 235, near "contains "TUNNEL""
(Do you need to predeclare contains?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 235, near ""TUNNEL" as"
(Missing operator before as?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 237, near "--server"
(Missing operator before server?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 241, near "--domain"
(Missing operator before domain?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 245, near "--username"
(Missing operator before username?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 249, near "--password"
(Missing operator before password?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 254, near "--encrypt"
(Missing operator before encrypt?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 258, near "--start"
(Missing operator before start?)
Number found where operator expected at /usr/sbin/pptpsetup line 271, near "over 16"
(Do you need to predeclare over?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 275, near "//pptpclient"
(Missing operator before pptpclient?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 279, near "//pptpclient"
(Missing operator before pptpclient?)
Number found where operator expected at /usr/sbin/pptpsetup line 287, near ") 2006"
(Missing operator before 2006?)
Bareword found where operator expected at /usr/sbin/pptpsetup line 287, near "2006 Nelson"
(Missing operator before Nelson?)
syntax error at /usr/sbin/pptpsetup line 234, near "delete the file /etc"
"use" not allowed in expression at /usr/sbin/pptpsetup line 247, at end of line
"use" not allowed in expression at /usr/sbin/pptpsetup line 251, at end of line
Search pattern not terminated at /usr/sbin/pptpsetup line 289.
|
2010-08-09
, 11:02
|
Posts: 21 |
Thanked: 1 time |
Joined on Aug 2010
|
#59
|
sub Check_MPPE_in_pppd {
my $command = q/strings `which pppd`|grep -i mppe|wc --
my $answer = `$command`;
if ($answer > 0) {
#ok!
return 1;
} else {
return 0;
}
}
__END__
=head1 NAME
pptpsetup - Point-to-Point Tunneling Protocol setup
=head1 SYNOPSIS
pptpsetup --create <TUNNEL> --server <SERVER> [--domain <DOMAIN>]
--username <USERNAME> [--password <PASSWORD>]
[--encrypt] [--start]
pptpsetup --delete <TUNNEL>
=head1 DESCRIPTION
PPTP Client is a Linux, FreeBSD, NetBSD and OpenBSD client for the
proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP.
This script configures PPTP Client on Linux.
=head1 OPTIONS
=over 16
=item --create TUNNEL
create a tunnel named TUNNEL
=item --delete TUNNEL
delete the file /etc/ppp/peers/TUNNEL and any lines from
/etc/ppp/chap-secrets that contains "TUNNEL" as a single word
=item --server SERVER
the IP address or host name of the server
=item --domain DOMAIN
the authentication domain name (optional)
=item --username USERNAME
the username you are to use
=item --password PASSWORD
- pptpsetup 250/301 83%
|
2010-08-30
, 18:58
|
Posts: 1 |
Thanked: 0 times |
Joined on Aug 2010
|
#60
|
OK, got it working to the point that pptp tunnel is up and i can ping the other end.
kernel modules : http://fanoush.wz.cz/maemo/modules-2...02-pptp.tar.gz
insmod order: slhc, ppp_generic, ppp_async, sha1_generic, ppp_mppe
pppd : http://fanoush.wz.cz/maemo/ppp_2.4.4...sso4_armel.deb
pptp-linux: http://fanoush.wz.cz/maemo/pptp-linux_1.7.2-1_armel.deb
Thx in advance