LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-24-2004, 10:05 AM   #1
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Rep: Reputation: 15
Hotplug event drop my intrnet connection!


When i try to coonect to the net using redhat is tasys something about hotplug event unregister not supported and immediately is dropping my connection after a few seonds!


Do you know how can i overcome this obstacle?
 
Old 01-24-2004, 10:51 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Perhaps you could give use some more information about how you connect to the Internet.
 
Old 01-24-2004, 01:04 PM   #3
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
using wvdial and an isdn modem 64k! i connect just fine but my connection is dropping after 2 seconds because of this hotplug thing!!!

what can i do?
 
Old 01-24-2004, 01:12 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What distribution are you using?
 
Old 01-24-2004, 01:17 PM   #5
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
redhat 9 also called shrike!
 
Old 01-24-2004, 01:23 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
From waht I can see that error isn't necesraily related to the connection problem. Can you see any errors in your logs?
 
Old 01-24-2004, 01:26 PM   #7
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
wait i will boot with linux to copy/paste and to show you the output of /var/log/messages so for you to have a clear view about this problem....
 
Old 01-24-2004, 01:48 PM   #8
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
here it is:

Jan 24 13:24:02 localhost kernel: PPP generic driver version 2.4.2
Jan 24 13:24:02 localhost pppd[3272]: pppd 2.4.1 started by root, uid 0
Jan 24 13:24:02 localhost pppd[3272]: Using interface ppp0
Jan 24 13:24:02 localhost pppd[3272]: Connect: ppp0 <--> /dev/ttyS0
Jan 24 13:24:02 localhost /etc/hotplug/net.agent: assuming ppp0 is already up
Jan 24 13:24:04 localhost pppd[3272]: Hangup (SIGHUP)
Jan 24 13:24:04 localhost pppd[3272]: Modem hangup
Jan 24 13:24:04 localhost pppd[3272]: Connection terminated.
Jan 24 13:24:04 localhost pppd[3272]: Exit.
 
Old 01-24-2004, 01:55 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What kind of modem is it - ie make and version?

What do you have in /etc/hostplug:
ls -l /etc/hotplug/

Last edited by david_ross; 01-24-2004 at 01:57 PM.
 
Old 01-24-2004, 01:57 PM   #10
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
isdn modem called netmod

what is this hotplug event anyway?
 
Old 01-24-2004, 02:31 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
From "man hotplug"
Code:
DESCRIPTION
       hotplug  is  a  program which is used by the kernel to notify user mode
       software when some significant (usually hardware-related)  events  take
       place.   An  example  is  when  a  USB  or Cardbus device has just been
       plugged in.  This is useful for automatically loading  and  setting  up
       drivers, packaged either as kernel modules or as user mode programs.

       The  hotplug  program  path name is registered in /proc/sys/kernel/hot-
       plug, and normally holds the value /sbin/hotplug.  Except for  special-
       ized configurations such as initrd(4) configurations, that identifies a
       shell script which delegates to  specific  "policy  agents",  /etc/hot-
       plug/NAME.agent.   The  name of the agent is given by the kernel as the
       first command-line parameter.  The name corresponds to a specific  ker-
       nel  subsystem  whose  events  it  processes  (e.g. "usb", "pci", "net"
       etc.).

       Information about an event is usually passed to agents in the  form  of
       environment  variables.   Most  agents  accept a "ACTION" variable that
       describes the type of the event.  It can  be,  for  example,  "add"  or
       "remove" to signify that some device has just been connected to or dis-
       connected from the system respectively.  In such requests,  agents  are
       also  given  variables  describing  at the device (and its location) so
       that they can choose the appropriate drivers to set up.

       hotplug agents aren't necessarily called only  by  the  kernel  though.
       While  the  OS  is  initializing, the "cold-plugging" case, the hotplug
       script in /etc/init.d/hotplug is invoked to make sure that  all  device
       connected  at  boot are properly configured, applying the same rules as
       if they were connected later.
 
Old 01-24-2004, 03:00 PM   #12
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
i read it but still couldnt understand how can i shut down this damn thing and finally get connected to the ent from linux......


please give me a hand here....
 
Old 01-25-2004, 02:11 PM   #13
Nik0s
Member
 
Registered: Jan 2004
Location: Thessaloniki
Distribution: Fedora Core 1
Posts: 41

Original Poster
Rep: Reputation: 15
Any idea what caused this?

Thanks in advance!
 
  


Reply



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
Connection between Touch Screen Device Driver and /dev/input/event ... okeyla Linux - Hardware 2 03-05-2006 05:52 AM
Drop connection on timeout blackhole123 Linux - Networking 0 12-01-2005 05:39 AM
Drop connections to port 80 at firewall machine also drop at protected network? Niceman2005 Linux - Security 2 10-27-2005 08:21 AM
iptables - drop all -> allow needed OR allow all -> drop specific lucastic Linux - Security 5 12-21-2004 02:07 AM
Need help : PPP will not drop connection cpalkar Linux - Networking 1 09-18-2003 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:07 AM.

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
Open Source Consulting | Domain Registration