Find the answer to your Linux question:
Results 1 to 10 of 10
sudo airmon-ng start wlan0 Found 5 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to kill (some ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    17

    How to close the following processes?

    sudo airmon-ng start wlan0


    Found 5 processes that could cause trouble.
    If airodump-ng, aireplay-ng or airtun-ng stops working after
    a short period of time, you may want to kill (some of) them!

    PID Name
    670 NetworkManager
    675 avahi-daemon
    677 avahi-daemon
    731 wpa_supplicant
    1523 dhclient
    Process with PID 1523 (dhclient) is running on interface wlan0

    I use Ubuntu Netbook Remix 10.04.
    Thank you.

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    Hi you have to delete the id number by opening file where process is run and then save file .
    i.e you will look process file in as
    Code:
    [ved@localhost /]$ cd /var/run/
    [ved@localhost run]$ ls
    abrt                    gdm             pcscd.events   setroubleshoot
    abrtd.pid               gdm.pid         pcscd.pid      sm-client.pid
    acpid.pid               hald            pcscd.pub      sm-notify.pid
    acpid.socket            haldaemon.pid   plymouth       sshd.pid
    atd.pid                 httpd           pm-utils       sudo
    auditd.pid              libgpod         portreserve    syslogd.pid
    avahi-daemon            lvm             ppp            udev-configure-printer
    console                 mdadm           pptp           udisks
    ConsoleKit              messagebus.pid  rpcbind.lock   utmp
    console-kit-daemon.pid  netreport       rpcbind.sock   vpnc
    crond.pid               net-snmp        rpc.statd.pid  wpa_supplicant
    cron.reboot             NetworkManager  saslauthd      wpa_supplicant.pid
    cups                    nscd            sendmail.pid   yum.pid
    cupsd.pid               openvpn         sepermit
    dbus                    pcscd.comm      setrans

  3. #3
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    as i have to close yum pid no 2734 then
    Code:
    [ved@localhost ~]$ su
    Password: 
    [root@localhost ved]# vi /var/run/yum.pid
    and hit enter key
    then ssow a number which i delete
    and then press Esc :wq enter

  4. #4
    Just Joined!
    Join Date
    Aug 2010
    Posts
    17
    Could you write precise sequence of commands for Ubuntu?

    Is it the only way to close those processes?

  5. #5
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    doesn't the kill command work under sudo with the pid??? (be very carefull with this though!)

  6. #6
    Just Joined!
    Join Date
    Aug 2010
    Posts
    17
    OK. I'll try.
    Is there any other way to close those processes?
    Is there an analogues programme to NetworkManager?

  7. #7
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Quote Originally Posted by ved View Post
    as i have to close yum pid no 2734 then
    Code:
    [ved@localhost ~]$ su
    Password: 
    [root@localhost ved]# vi /var/run/yum.pid
    and hit enter key
    then ssow a number which i delete
    and then press Esc :wq enter
    Geez, I thought I've seen everything.

    Generally, daemons and processes started from rc.d or init.d scripts should be shut down using
    Code:
    sudo /etc/init.d/foo stop
    or similar.
    DHCP client is probably started from your network config, revise that to get rid of it.
    NetworkManager ... it is provided for convenience, it's not needed for a network connection to function.

  8. #8
    Linux Enthusiast Bemk's Avatar
    Join Date
    Sep 2008
    Location
    Oosterhout-NB, Netherlands
    Posts
    522
    Quote Originally Posted by Segfault View Post
    Geez, I thought I've seen everything.

    Generally, daemons and processes started from rc.d or init.d scripts should be shut down using
    Code:
    sudo /etc/init.d/foo stop
    or similar.
    DHCP client is probably started from your network config, revise that to get rid of it.
    NetworkManager ... it is provided for convenience, it's not needed for a network connection to function.
    I thought he considered that, since most of the times disabling deamons is also available through the GUI, unless you've messed up the scripts somehow (very easy to do when messing around with root).

  9. #9
    Just Joined!
    Join Date
    Jan 2006
    Posts
    62
    "it is provided for convenience, it's not needed for a network connection to function."


    __________________________


    Maybe you need those programs to make network secure..?
    Maybe deleting those programs could open security exploit holes in the OS..?
    Which security updates are those items connected to..? and why?..

  10. #10
    Just Joined!
    Join Date
    Aug 2010
    Posts
    17
    When I type "sudo /etc/init.d/foo stop"
    the processes seem to shut down, but if I try to use aireplay, those processes appear again with different PIDs.
    How to close them permanently?

    I also cannot install madwifi; maybe there is some compatibility problems with Atheros 5007EG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...