Skip to contentSkip to conversation

disabled system speaker: how to enable?

DISCUSSION James Miller 6 participants 19 messages Dec 31, 2003 – Jan 5, 2004

lore
Share & tools
lore
#0 lore raw

We recently installed Gentoo Linux on a laptop, which went successfully for the most part. The Gentoo install seems to run from a ramdisk Linux version, and it includes things like the links browser so you can go online during the install to check documentation. We also installed an application there that used the console beep (a chat client) to keep in touch with someone during the install. The system speaker/console beep on the machine worked fine at this stage, and would beep as it was supposed to when someone would send a message. On the installed system, however, the console beep/system speaker is not working. It doesn't work in the chat client, and issuing | echo -e "\a" | doesn't make the system speaker beep either (no error responses or anything, just a blank line like it's trying to ring the system bell, then a return to bash prompt). This is the 2.6 kernel, btw. So, what could the problem be? Should we have maybe enabled console beep when we compiled the kernel or something? Any other things I could check/implement to get it working?

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 7 lines · James Miller

We recently installed Gentoo Linux on a laptop, which went successfully for the most part. The Gentoo install seems to run from a ramdisk Linux version, and it includes things like the links browser so you can go online during the install to check documentation. We also installed an application there that used the console beep (a chat client) to keep in touch with someone during the install. The system speaker/console beep on the machine worked fine at this stage, and would beep as it was supposed

Quoted 9 lines

to when someone would send a message. On the installed system, however, the console beep/system speaker is not working. It doesn't work in the chat client, and issuing | echo -e "\a" | doesn't make the system speaker beep either (no error responses or anything, just a blank line like it's trying to ring the system bell, then a return to bash prompt). This is the 2.6 kernel, btw. So, what could the problem be? Should we have maybe enabled console beep when we compiled the kernel or something? Any other things I could check/implement to get it working?

you should have these lines in your kernel .config

CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y

Quoted 1 line

Thanks, James

Calin

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw

Debian network reconfigure

I've tried various things I can think of on a Debian system and searched the web a bit for information, but I'm still at a loss. I've moved a Debian machine that was on a dhcp network to a network that uses static addressing. I was hoping there is a way to rerun the network setup dialogue so that I can assign eth0 a static address and tell it where the gateway is. Is there a way to rerun it? If so, where and how?

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw

Re: Debian network reconfigure

Quoted 6 lines · At 11:44 PM 1/1/2004 +0000, [email protected] wrote:

I've tried various things I can think of on a Debian system and searched the web a bit for information, but I'm still at a loss. I've moved a Debian machine that was on a dhcp network to a network that uses static addressing. I was hoping there is a way to rerun the network setup dialogue so that I can assign eth0 a static address and tell it where the gateway is. Is there a way to rerun it? If so, where and how?

I don't know offhand, though it is a good goess that there is some "dpkg-reconfigure" command that will do what you want. The fact that this setup is part of a install makes it a bit complicated.

The easy solution, though, is to hand edit (using vi, emacs, or whatever text processor you like) the file /etc/network/interfaces to remove the DHCP assignment and replace it with a static address. A sample stanza for this (taken from one of my workstations) is:

        auto eth0
        # comment out next line to remove DHCP assignment
        #iface eth0 inet dhcp
        iface eth0 inet static
                        address 192.168.1.1
                        netmask 255.255.255.0
                        network 192.168.1.0
                        broadcast 192.168.1.255
                        gateway 192.168.1.86

All the networking setup program does is provide a front-end to editing this file.

So edit it, then run ...

/etc/init.d/networking restart

... and you should be set.

Do all this as root, of course.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw

Re: Debian network reconfigure

Quoted 6 lines · Ray Olszewski
Quoted 1 line · At 11:44 PM 1/1/2004 +0000, [email protected] wrote:

the gateway is. Is there a way to rerun it? If so, where and how?

I don't know offhand, though it is a good goess that there is some "dpkg-reconfigure" command that will do what you want. The fact that this setup is part of a install makes it a bit complicated.

I was trying to guess at just some such thing - dpkg-reconfigure myguesshere - but my missed guesses were leading only to frustration.

Quoted 19 lines

The easy solution, though, is to hand edit (using vi, emacs, or whatever text processor you like) the file /etc/network/interfaces to remove the DHCP assignment and replace it with a static address. A sample stanza for this (taken from one of my workstations) is:

         auto eth0
         # comment out next line to remove DHCP assignment
         #iface eth0 inet dhcp
         iface eth0 inet static
                         address 192.168.1.1
                         netmask 255.255.255.0
                         network 192.168.1.0
                         broadcast 192.168.1.255
                         gateway 192.168.1.86

All the networking setup program does is provide a front-end to editing this file.

Quoted 8 lines

So edit it, then run ...

/etc/init.d/networking restart

... and you should be set.

Do all this as root, of course.

Thanks for the tip, Ray. I wanted to do something like this from the start, but I thought I should try whatever automated avenues the system might offer for it first. I never quite know when to start editing manually and when to rely on some sort of wizard thingy. Anyway, I've edited the file accordingly so I should be set.

Appreciate it, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#5 lore raw

starting and stopping networking

In reply to Ray Olszewski

Lemme see if I can frame this question coherently. I've got a Debian Sid machine on a LAN behind a firewalling router (router does dhcp offers, too). That router's acting really flaky (it was given to me as a freebie because it was acting flaky). I'm thinking of just hooking that machine directly to the 'net (university network) for the next week or so while await the arrival of a router that works normally. Of course I don't wish for the machine to be on the WAN unprotected. At the same time, I don't want to install a firewall on it because that could complicate setting up the LAN, once the normally-operating router/firewall arrives. What I'm thinking of doing is maybe creating a script that will start/stop network services and make a dhcp request, that could be run in the interim while I'm awaiting the new router. In other words, I would stop networking when I'm not actively doing something on the 'net, restart it when I need to do something on the 'net. So my basic question is: how do I stop networking services on Debian Sid (I know how on Slackware, but Debian differs)? How do I restart them later, and send a new dhcp request at the same time? Any input on my interim networking method for this machine would be appreciated, as would pointers for accomplishing what I've outlined above, if that proves advisable/feasible.

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#6 lore raw

Re: starting and stopping networking

Quoted 11 lines · James Miller

Lemme see if I can frame this question coherently. I've got a Debian Sid machine on a LAN behind a firewalling router (router does dhcp offers, too). That router's acting really flaky (it was given to me as a freebie because it was acting flaky). I'm thinking of just hooking that machine directly to the 'net (university network) for the next week or so while await the arrival of a router that works normally. Of course I don't wish for the machine to be on the WAN unprotected. At the same time, I don't want to install a firewall on it because that could complicate setting up the LAN, once the normally-operating router/firewall arrives. What I'm thinking of doing is maybe creating a script that will start/stop network services and make a dhcp request, that could be run in the interim while

Quoted 9 lines

I'm awaiting the new router. In other words, I would stop networking when I'm not actively doing something on the 'net, restart it when I need to do something on the 'net. So my basic question is: how do I stop networking services on Debian Sid (I know how on Slackware, but Debian differs)? How do I restart them later, and send a new dhcp request at the same time? Any input on my interim networking method for this machine would be appreciated, as would pointers for accomplishing what I've outlined above, if that proves advisable/feasible.

to stop network
ifconfig eth0 down
to start

ifconfig eth0 up

Quoted 2 lines

Thanks, James
-

Calin
--
"A mouse is a device used to point at
the xterm you want to type in".
Kim Alm on a.s.r.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#7 lore raw

Re: starting and stopping networking

Quoted 10 lines · On Sun, 4 Jan 2004 [email protected] wrote:
Quoted 7 lines · James Miller

something on the 'net. So my basic question is: how do I stop networking services on Debian Sid (I know how on Slackware, but Debian differs)? How do I restart them later, and send a new dhcp request at the same time? Any input on my interim networking method for this machine would be appreciated, as would pointers for accomplishing what I've outlined above, if that proves advisable/feasible.

Quoted 6 lines

to stop network
ifconfig eth0 down
to start

ifconfig eth0 up

ifconfig eth0 down seems to stop the connection alright. ifconfig eth0 up just brings up the previous configuration, though. It doesn't seem to make a new dhcp request, which I think really needs to happen. Anyway, no traffic goes to/comes from the 'net after I do ifconfig eth0 down, then ifconfig eth0 up. You guessed right, btw, that eth0 is the connection to the 'net. Anyone else care to take a shot?

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#8 lore raw

Re: starting and stopping networking

James,

I've never used Debian. I did use Slackware for a long time and now I'm a Gentoo user. I would look for the networking init script that starts your networking on boot in /etc/init.d and use that to start or stop the networking. Otherwise I'd look for the dhcp client that debian uses. I know RedHat used dhclient and gentoo and slack used dhcpcd. You'd need to re-run that client when you bring the networking back up (to reset your IP address and wshat not.) You may have problems with that if the the client stays up continuously even when you do an ifconfig eth0 down.

Hope that helps.
Jacob

Quoted 31 lines · James Miller
Quoted 10 lines · On Sun, 4 Jan 2004 [email protected] wrote:
Quoted 7 lines · James Miller

something on the 'net. So my basic question is: how do I stop networking services on Debian Sid (I know how on Slackware, but Debian differs)? How do I restart them later, and send a new dhcp request at the same time? Any input on my interim networking method for this machine would be appreciated, as would pointers for accomplishing what I've outlined above, if that proves advisable/feasible.

Quoted 6 lines

to stop network
ifconfig eth0 down
to start

ifconfig eth0 up

ifconfig eth0 down seems to stop the connection alright. ifconfig eth0 up just brings up the previous configuration, though. It doesn't seem to make a new dhcp request, which I think really needs to happen. Anyway, no traffic goes to/comes from the 'net after I do ifconfig eth0 down, then ifconfig eth0 up. You guessed right, btw, that eth0 is the connection to the 'net. Anyone else care to take a shot?

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 7 lines
Jacob Langley <[email protected]>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#9 lore raw

Re: starting and stopping networking

In reply to James Miller
Quoted 16 lines · James Miller
Quoted 14 lines · On Sun, 4 Jan 2004 [email protected] wrote:
Quoted 7 lines · James Miller

something on the 'net. So my basic question is: how do I stop networking services on Debian Sid (I know how on Slackware, but Debian differs)? How do I restart them later, and send a new dhcp request at the same time? Any input on my interim networking method for this machine would be appreciated, as would pointers for accomplishing what I've outlined above, if that proves advisable/feasible.

to stop network
ifconfig eth0 down
to start

Quoted 9 lines
Quoted 2 lines

ifconfig eth0 up

ifconfig eth0 down seems to stop the connection alright. ifconfig eth0 up just brings up the previous configuration, though. It doesn't seem to make a new dhcp request, which I think really needs to happen. Anyway, no traffic goes to/comes from the 'net after I do ifconfig eth0 down, then ifconfig eth0 up. You guessed right, btw, that eth0 is the connection to the 'net. Anyone else care to take a shot?

my slack 9.0 has the following lines in /etc/rc.d/rc.inet1 for bringing up dhcp

  if [ ! "$DHCP_HOSTNAME" = "" ]; then
    DHCP_HOSTNAME="-h $DHCP_HOSTNAME"
  fi
  /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0

where DHCP_HOSTNAME is the host name of the DHCP server

Hope it helps a bit :-)

Quoted 2 lines

Thanks, James

Calin
--
"A mouse is a device used to point at
the xterm you want to type in".
Kim Alm on a.s.r.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#10 lore raw

Re: starting and stopping networking

Quoted 12 lines · On Sun, 4 Jan 2004 [email protected] wrote:

my slack 9.0 has the following lines in /etc/rc.d/rc.inet1 for bringing up dhcp

  if [ ! "$DHCP_HOSTNAME" = "" ]; then
    DHCP_HOSTNAME="-h $DHCP_HOSTNAME"
  fi
  /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0

where DHCP_HOSTNAME is the host name of the DHCP server

Hope it helps a bit :-)

Well, not a whole lot. If I were using Slack, I would just do /etc/rc.d/rc.inet1 stop and /etc/rc.d/rc.inet1 start. I guess I'm trying to find out what is the equivalent on Debian. I'll root through the /etc directory some more and see if I can figure out anything.

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#11 lore raw

Re: starting and stopping networking

Quoted 10 lines · James Miller
Quoted 8 lines · On Sun, 4 Jan 2004 [email protected] wrote:

my slack 9.0 has the following lines in /etc/rc.d/rc.inet1 for bringing up dhcp

  if [ ! "$DHCP_HOSTNAME" = "" ]; then
    DHCP_HOSTNAME="-h $DHCP_HOSTNAME"
  fi
  /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0
Quoted 9 lines
Quoted 4 lines

where DHCP_HOSTNAME is the host name of the DHCP server

Hope it helps a bit :-)

Well, not a whole lot. If I were using Slack, I would just do /etc/rc.d/rc.inet1 stop and /etc/rc.d/rc.inet1 start. I guess I'm trying to find out what is the equivalent on Debian. I'll root through the /etc directory some more and see if I can figure out anything.

Ok. Taking Jacob's suggestion, I rooted arund in /etc/init.d and found a file caled "networking." Looking over its contents, I decided the relevant commands for stopping/starting networking on this Debian host are "ifdown -a" and "ifup -a", respectively. Just tried it and it seems to work. Have I stumbled onto the defnitive solution to my short term problem?

Thanks, James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#12 lore raw

Re: starting and stopping networking

Quoted 21 lines · James Miller
Quoted 10 lines · James Miller
Quoted 8 lines · On Sun, 4 Jan 2004 [email protected] wrote:

my slack 9.0 has the following lines in /etc/rc.d/rc.inet1 for bringing up dhcp

  if [ ! "$DHCP_HOSTNAME" = "" ]; then
    DHCP_HOSTNAME="-h $DHCP_HOSTNAME"
  fi
  /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0
Quoted 9 lines
Quoted 4 lines

where DHCP_HOSTNAME is the host name of the DHCP server

Hope it helps a bit :-)

Well, not a whole lot. If I were using Slack, I would just do /etc/rc.d/rc.inet1 stop and /etc/rc.d/rc.inet1 start. I guess I'm trying to find out what is the equivalent on Debian. I'll root through the /etc directory some more and see if I can figure out anything.

Quoted 6 lines

Ok. Taking Jacob's suggestion, I rooted arund in /etc/init.d and found a file caled "networking." Looking over its contents, I decided the relevant commands for stopping/starting networking on this Debian host are "ifdown -a" and "ifup -a", respectively. Just tried it and it seems to work. Have I stumbled onto the defnitive solution to my short term problem?

One that will serve, at least. Even simpler would be to run (as root, of course)

/etc/init.d/networking stop
/etc/init.d/networking start

BTW, if you take networking down and later restart it, getting the same DHCP lease would not be all that amazing ... especially if the DHCP server assigns long lease lives (the lease itself may still be good, and both your host and the dhcp server would remember that).

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#13 lore raw

Re: starting and stopping networking

In reply to [email protected]

why not just service network stop/start????
----- Original Message -----
From: <[email protected]>
To: "James Miller" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, January 04, 2004 7:19 PM
Subject: Re: starting and stopping networking

Quoted 7 lines · James Miller
Quoted 6 lines · On Sun, 4 Jan 2004 [email protected] wrote:
Quoted 4 lines · James Miller
Quoted 2 lines

something on the 'net. So my basic question is: how do I stop

networking

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

services on Debian Sid (I know how on Slackware, but Debian

differs)?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

How do I restart them later, and send a new dhcp request at the same

time?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Any input on my interim networking method for this machine would be appreciated, as would pointers for accomplishing what I've outlined

above,

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 2 lines

if that proves advisable/feasible.

to stop network
ifconfig eth0 down
to start

ifconfig eth0 up

ifconfig eth0 down seems to stop the connection alright. ifconfig eth0

up

Quoted 2 lines
Quoted 2 lines

just brings up the previous configuration, though. It doesn't seem to make a new dhcp request, which I think really needs to happen. Anyway,

no

Quoted 2 lines
Quoted 2 lines

traffic goes to/comes from the 'net after I do ifconfig eth0 down, then ifconfig eth0 up. You guessed right, btw, that eth0 is the connection

to

Quoted 18 lines
Quoted 2 lines

the 'net. Anyone else care to take a shot?

my slack 9.0 has the following lines in /etc/rc.d/rc.inet1 for bringing up dhcp

  if [ ! "$DHCP_HOSTNAME" = "" ]; then
    DHCP_HOSTNAME="-h $DHCP_HOSTNAME"
  fi
  /sbin/dhcpcd -t 10 ${DHCP_HOSTNAME} -d eth0

where DHCP_HOSTNAME is the host name of the DHCP server

Hope it helps a bit :-)

Quoted 2 lines

Thanks, James

Quoted 10 lines

Calin
--
"A mouse is a device used to point at
the xterm you want to type in".
Kim Alm on a.s.r.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#14 lore raw

Re: starting and stopping networking

Quoted 1 line · Alan Bort

why not just service network stop/start????

Because it won't work.

What distribution are you basing this suggestion on? Not Debian-Sid, I think ... I've never heard of it, and I just tried it on one of my systems and found that "serv"+TAB offer me no completion possibilities.

Quoted 10 lines

----- Original Message -----
From: <[email protected]>
To: "James Miller" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, January 04, 2004 7:19 PM
Subject: Re: starting and stopping networking

Quoted 2 lines · James Miller
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines · On Sun, 4 Jan 2004 [email protected] wrote:
Quoted 4 lines · James Miller
Quoted 2 lines

something on the 'net. So my basic question is: how do I stop

networking

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

services on Debian Sid (I know how on Slackware, but Debian

differs)?

[old stuff deleted]

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#15 lore raw

Re: starting and stopping networking

/sbin/service, I know it doesn't work in SuSE, I never used Debian, I am basing this on redhat-like distributions.

Quoted 35 lines · Ray Olszewski
Quoted 1 line · Alan Bort

why not just service network stop/start????

Because it won't work.

What distribution are you basing this suggestion on? Not Debian-Sid, I think ... I've never heard of it, and I just tried it on one of my systems and found that "serv"+TAB offer me no completion possibilities.

Quoted 10 lines

----- Original Message -----
From: <[email protected]>
To: "James Miller" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, January 04, 2004 7:19 PM
Subject: Re: starting and stopping networking

Quoted 2 lines · James Miller
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines · On Sun, 4 Jan 2004 [email protected] wrote:
Quoted 4 lines · James Miller
Quoted 2 lines

something on the 'net. So my basic question is: how do I stop

networking

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

services on Debian Sid (I know how on Slackware, but Debian

differs)?

[old stuff deleted]

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 18 lines
Alan Bort
Personal:       +595 (0)971 333 101
Fax:            +595 (0)21 606 967
ICQ-UIN:        73799272
Jabber contac:	[email protected]
=======================================================================
Linux Registered User 298277 -Country Manager- [http://counter.li.org]
[ http://www.linuxquestions.org ] Username: Ciccio
[ http://es.tldp.org ]
=======================================================================
Asuncion - Paraguay
Ciccio.-

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#16 lore raw

Re: starting and stopping networking

Quoted 2 lines · Alan Bort

/sbin/service, I know it doesn't work in SuSE, I never used Debian, I am basing this on redhat-like distributions.

Right. Just to be clear, normal Debian installs do not include /sbin/service . The app name is too generic for a reasonable search of the Debian package database, but I'd bet it is something peculiar to Red Hat and a few of its close derivatives ... but not SuSE, Debian, or Slackware, the three main distros, these days, with no roots in Red Hat.

Remember that the original question in this thread was specific to Debian-Sid, posed by someone whose prior experience was with Slackware.

Quoted 9 lines · Ray Olszewski
Quoted 8 lines
Quoted 1 line · Alan Bort

why not just service network stop/start????

Because it won't work.

What distribution are you basing this suggestion on? Not Debian-Sid, I think ... I've never heard of it, and I just tried it on one of my systems and found that "serv"+TAB offer me no completion possibilities.

[...]

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#17 lore raw

Re: starting and stopping networking

There should be a tool to manage system services, for example, when you run apache as standalone, you can do 'service apache stop'. I'll ask a few debian gurus over here and post any idea they give me.

Sorry.

Quoted 32 lines · Ray Olszewski
Quoted 2 lines · Alan Bort

/sbin/service, I know it doesn't work in SuSE, I never used Debian, I am basing this on redhat-like distributions.

Right. Just to be clear, normal Debian installs do not include /sbin/service . The app name is too generic for a reasonable search of the Debian package database, but I'd bet it is something peculiar to Red Hat and a few of its close derivatives ... but not SuSE, Debian, or Slackware, the three main distros, these days, with no roots in Red Hat.

Remember that the original question in this thread was specific to Debian-Sid, posed by someone whose prior experience was with Slackware.

Quoted 9 lines · Ray Olszewski
Quoted 8 lines
Quoted 1 line · Alan Bort

why not just service network stop/start????

Because it won't work.

What distribution are you basing this suggestion on? Not Debian-Sid, I think ... I've never heard of it, and I just tried it on one of my systems and found that "serv"+TAB offer me no completion possibilities.

[...]

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 18 lines
Alan Bort
Personal:       +595 (0)971 333 101
Fax:            +595 (0)21 606 967
ICQ-UIN:        73799272
Jabber contac:	[email protected]
=======================================================================
Linux Registered User 298277 -Country Manager- [http://counter.li.org]
[ http://www.linuxquestions.org ] Username: Ciccio
[ http://es.tldp.org ]
=======================================================================
Asuncion - Paraguay
Ciccio.-

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#18 lore raw

Re: starting and stopping networking

Hi, i have used debian almost two years, woody and sid. Debian don't uses service xxxx start/stop. It was my first trouble migrating from mandrake. Instead, debian uses /etc/init.d/xxx start/stop. For example, in redhat/mandrake, to run apache was: service apache start, in debian:
/etc/init.d/apache start.

And, /etc/init.d/networking start/stop, was what i used to get up and down my network interfaces. Allways worked for me.

----- Original Message -----
From: "Alan Bort" <[email protected]>
To: "Ray Olszewski" <[email protected]>
Cc: "Linux Newbie" <[email protected]>
Sent: Monday, January 05, 2004 12:11 AM
Subject: Re: starting and stopping networking

| There should be a tool to manage system services, for example, when you
| run apache as standalone, you can do 'service apache stop'. I'll ask a
| few debian gurus over here and post any idea they give me.
|
| Sorry.
|
| El dom, 04-01-2004 a las 21:28, Ray Olszewski escribió:
| > At 08:51 PM 1/4/2004 -0300, Alan Bort wrote:
| > >/sbin/service, I know it doesn't work in SuSE, I never used Debian, I
am
| > >basing this on redhat-like distributions.
| >
| > Right. Just to be clear, normal Debian installs do not include
| > /sbin/service . The app name is too generic for a reasonable search of

the
| > Debian package database, but I'd bet it is something peculiar to Red Hat | > and a few of its close derivatives ... but not SuSE, Debian, or Slackware,

| > the three main distros, these days, with no roots in Red Hat.
| >
| > Remember that the original question in this thread was specific to
| > Debian-Sid, posed by someone whose prior experience was with Slackware.
| >
| >
| > >El dom, 04-01-2004 a las 20:26, Ray Olszewski escribió:
| > > > At 07:32 PM 1/4/2004 -0200, Alan Bort wrote:
| > > > >why not just service network stop/start????
| > > >
| > > > Because it won't work.
| > > >
| > > > What distribution are you basing this suggestion on? Not Debian-Sid,
I
| > > > think ... I've never heard of it, and I just tried it on one of my
systems
| > > > and found that "serv"+TAB offer me no completion possibilities.
| > [...]
| >
| >
| >
| > -
| > To unsubscribe from this list: send the line "unsubscribe linux-newbie"
in
| > the body of a message to [email protected]
| > More majordomo info at  http://vger.kernel.org/majordomo-info.html
| > Please read the FAQ at http://www.linux-learn.org/faqs
| --
| Alan Bort
| Personal:       +595 (0)971 333 101
| Fax:            +595 (0)21 606 967
| ICQ-UIN:        73799272
| Jabber contac: [email protected]
| =======================================================================
| Linux Registered User 298277 -Country Manager- [http://counter.li.org]
| [ http://www.linuxquestions.org ] Username: Ciccio
| [ http://es.tldp.org ]
| =======================================================================
| Asuncion - Paraguay
| Ciccio.-
|
| -
| To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
| the body of a message to [email protected]
| More majordomo info at  http://vger.kernel.org/majordomo-info.html
| Please read the FAQ at http://www.linux-learn.org/faqs
|

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs