Madhavi Manchala | 2 Sep 2009 10:25
Picon

netconsole configuration problem in FC-8 and FC-10 with 2.6.28 and 2.6.30 versions

Dear All,

I am not able to configure the netconsole on my Fedora Core 8 and
Fedora Core 10 systems with 2.6.28 and 2.6.30 kernel versions. I have
gone through the following link and tried all the available options in
that link.

http://www.mjmwired.net/kernel/Documentation/networking/netconsole.txt

I have changed the values in /etc/sysconfig/netconsole. I have also
changed the /proc/sys/kernel/sysrq value to 1 and
/proc/sys/kernel/printk to 9 4 1 7. I also tried with nc command. But
there is no luck.

After going through the following article
http://www.cyberciti.biz/tips/linux-netconsole-log-management-tutorial.html

I tried to load the netconsole with the following command in FC-8 and
FC-10 systems.

# modprobe netconsole 6666 <at> 192.168.1.5/eth0,514 <at> 192.168.1.100/00:19:D1:2A:BA:A8

I got the Unknown parameter error.

Please let me know if I am missing any thing in the Fedora Core 8 /
Fedora Core  10 with 2.6.28 / 2.6.30 kernel versions.

Thanks and Regards,
Madhavi M.
--
(Continue reading)

Charlie Brady | 2 Sep 2009 15:03
Picon
Picon

Re: netconsole configuration problem in FC-8 and FC-10 with 2.6.28 and 2.6.30 versions


On Wed, 2 Sep 2009, Madhavi Manchala wrote:

> Please let me know if I am missing any thing

You are missing the fact that your question has nothing to do with PPP.
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Davy Leon | 7 Sep 2009 18:15
Picon

help

Hello guys

I'm on dialup and have some question to ask. I have an script wich dials 
automatically to my ISP to get my email using fetchmail from all my email 
accounts.

Sometimes after the ppp conection is stablished ok and running for a couple 
of minuts, it just dies. The modem is still conected but I cannot ping 
anybody. It doesn't happen all the time, but happens very often. So, the 
last action of the script is to hang up the modem. When this happens, the 
result is that the script hangs up but only after every conections I should 
do gets time out. The result is a phone bill, an internet bill and no email 
at all. I need a method to detect when this happens and simply disconect and 
run the conection script again. What do you advice me?

THanks 

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Milan P. Stanic | 7 Sep 2009 18:13

Re: help

On Mon, 2009-09-07 at 11:15, Davy Leon wrote:
> I'm on dialup and have some question to ask. I have an script wich dials  
> automatically to my ISP to get my email using fetchmail from all my email 
> accounts.
>
> Sometimes after the ppp conection is stablished ok and running for a 
> couple of minuts, it just dies. The modem is still conected but I cannot 
> ping anybody. It doesn't happen all the time, but happens very often. So, 
> the last action of the script is to hang up the modem. When this happens, 
> the result is that the script hangs up but only after every conections I 
> should do gets time out. The result is a phone bill, an internet bill and 
> no email at all. I need a method to detect when this happens and simply 
> disconect and run the conection script again. What do you advice me?

man pppd
disconnect script
Execute the command specified by script, by passing it to a shell, after
pppd has terminated the  link.   This command  could, for example, issue
commands to the modem to cause it to hang up if hardware modem control
signals were not available.  The disconnect script is not run if the
modem has already hung up.  A value for this option from a privileged
source cannot be overridden by a non-privileged user.

You can create chatscript which hang-up modem.

--

-- 
Kind regards,  Milan
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

Bill Unruh | 7 Sep 2009 18:31
Picon
Picon

Re: help

On Mon, 7 Sep 2009, Davy Leon wrote:

> Hello guys
>
> I'm on dialup and have some question to ask. I have an script 
> wich dials automatically to my ISP to get my email using 
> fetchmail from all my email accounts.
>
> Sometimes after the ppp conection is stablished ok and running 
> for a couple of minuts, it just dies. The modem is still 
> conected but I cannot ping anybody. It doesn't happen all the 
> time, but happens very often. So, the last action of the 
> script is to hang up the modem. When this happens, the result 
> is that the script hangs up but only after every conections I 
> should do gets time out. The result is a phone bill, an 
> internet bill and no email at all. I need a method to detect 
> when this happens and simply disconect and run the conection 
> script again. What do you advice me?
>

Two possibilities-- figure out why youare disconnecting like that and fix it,
or kludge something to hang up and redial when the connection goes down. You
could for example set up a cron job when ppp connects to ping something  and
see if you get a response, and if not, reconnect. 
For the former, enable deguggin in ppp and look at the logs to see if there is
anything there. Or get after your ISP and find out what they are doing to
disconnect you.

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
(Continue reading)

Nev | 7 Sep 2009 22:53
Picon

Calling-Station-Id

This is my very first post, so apologies if I'm posting to the wrong list.

OS CentOS 5.3
Kernel 2.6.18-128

My setup is PPTP client >> INTERNET >> pptpd (1.3.4) / PPP (2.4.4.-2) / 
Radius (2.1.6)

in /etc/pptpd I have noipparam commented in order that the client's IP 
address is pass to PPP

in /var/log/messages the clients ip is passed

Sep  7 21:41:32 vpn1 pppd[9945]: ipparam 78.8X.18X.XX           # (from 
command line)

But what ends in Radius is Calling-Station-Id = "8.87" and not the FULL IP.

I searched google and I can see alot of people have had this problem, 
but I've not be able to find a fix.

Thx
Nev

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

James Carlson | 8 Sep 2009 14:06

Re: help

Davy Leon wrote:
> I'm on dialup and have some question to ask. I have an script wich dials
> automatically to my ISP to get my email using fetchmail from all my
> email accounts.
> 
> Sometimes after the ppp conection is stablished ok and running for a
> couple of minuts, it just dies. The modem is still conected but I cannot
> ping anybody. It doesn't happen all the time, but happens very often.
> So, the last action of the script is to hang up the modem. When this
> happens, the result is that the script hangs up but only after every
> conections I should do gets time out. The result is a phone bill, an
> internet bill and no email at all. I need a method to detect when this
> happens and simply disconect and run the conection script again. What do
> you advice me?

Still connected but cannot ping on dial-up shortly after the initial
connection sounds to me like misconfigured flow control.  Some things to
check (in roughly descending order of usefulness or ascending order of
desperation):

	- Try using "asyncmap 0xa0000" as part of your PPP
	  configuration.  If that doesn't work, then try out
	  "default-asyncmap".

	- Check the configuration of the modem to find out
	  if the wrong sort of flow control is enabled.

	- Try using "record filename" to get a fairly low-
	  level recording of the session, and see if there
	  are patterns in the problem.
(Continue reading)

tony.chamberlain | 8 Sep 2009 18:59

several sites through router

We have several machines here among which are 192.168.5.66 and 192.168.5.68.
They each are running pptp and try to connect via pppd to another site
(actually in China) and establish a VPN.  Now the first machine connects
fine and sets up an VPN id of 10.0.0.26.  Problem is, the second just times
out.  It connects but never makes a connection.

What I think I finally figured out is that they are both going through router
W.X.Y.Z (I am leaving the IP address of this router anonymous which we use
to connect to the internet), so probably the VPN server in China gets confused
and does not realize it is a new machine, and so just ignores the connection
attempt or something.

Now I have control of all the machines, clients and server, and they are all
running poptop available through CentOS 4.5.  Is there anyway I can make the
server so it allowd multiple connections?  I do specify in the one client
IP address 10.0.0.26 and in the other 10.0.0.27.

Thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

James Cameron | 9 Sep 2009 03:12
Favicon

Re: several sites through router

This has nothing to do with pppd, but is a common problem with pptp,
in future ask on the pptpclient-devel mailing list instead.  Or even the
poptop (pptpd) mailing list.

Since I'm there anyway ... what you describe is a failure of the router
to use a unique call identifier when it readdresses the packets, or a
failure of the pptpd at the remote site to demultiplex the PPP over GRE
stream.

> Now I have control of all the machines, clients and server, and they
> are all running poptop available through CentOS 4.5.

You should use OpenVPN instead then.

--

-- 
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

tony.chamberlain | 9 Sep 2009 14:51

Re: several sites through router

Will openvpn allow you to assign IP address by user id?
I mean its true now that when I make the pppd call I can specify
(request) what address I want, but it would be nice if the server could
do the assigning.  Clients do rely on receiving the same IP address.
(I mean the same one, but each client gets a different IP).

-----Original Message-----
From: James Cameron [mailto:quozl <at> laptop.org]
Sent: Tuesday, September 8, 2009 08:12 PM
To: linux-ppp <at> vger.kernel.org
Subject: Re: several sites through router

This has nothing to do with pppd, but is a common problem with pptp,
in future ask on the pptpclient-devel mailing list instead.  Or even the
poptop (pptpd) mailing list.

Since I'm there anyway ... what you describe is a failure of the router
to use a unique call identifier when it readdresses the packets, or a
failure of the pptpd at the remote site to demultiplex the PPP over GRE
stream.

> Now I have control of all the machines, clients and server, and they
> are all running poptop available through CentOS 4.5.

You should use OpenVPN instead then.

--

-- 
James Cameron
http://quozl.linux.org.au/
--
(Continue reading)


Gmane