* disabled system speaker: how to enable? @ 2003-12-31 19:33 James Miller 2004-01-01 3:33 ` caszonyi 0 siblings, 1 reply; 19+ messages in thread From: James Miller @ 2003-12-31 19:33 UTC (permalink / raw) To: linux-newbie 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: disabled system speaker: how to enable? 2003-12-31 19:33 disabled system speaker: how to enable? James Miller @ 2004-01-01 3:33 ` caszonyi 2004-01-01 23:44 ` Debian network reconfigure jamtat 0 siblings, 1 reply; 19+ messages in thread From: caszonyi @ 2004-01-01 3:33 UTC (permalink / raw) To: James Miller; +Cc: linux-newbie On Wed, 31 Dec 2003, James Miller wrote: > 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? > you should have these lines in your kernel .config CONFIG_INPUT_MISC=y CONFIG_INPUT_PCSPKR=y > Thanks, James Calin - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Debian network reconfigure 2004-01-01 3:33 ` caszonyi @ 2004-01-01 23:44 ` jamtat 2004-01-01 23:54 ` Ray Olszewski 0 siblings, 1 reply; 19+ messages in thread From: jamtat @ 2004-01-01 23:44 UTC (permalink / raw) To: linux-newbie 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian network reconfigure 2004-01-01 23:44 ` Debian network reconfigure jamtat @ 2004-01-01 23:54 ` Ray Olszewski 2004-01-02 0:38 ` James Miller 2004-01-04 20:43 ` starting and stopping networking James Miller 0 siblings, 2 replies; 19+ messages in thread From: Ray Olszewski @ 2004-01-01 23:54 UTC (permalink / raw) To: linux-newbie At 11:44 PM 1/1/2004 +0000, jamtat@mailsnare.net 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Debian network reconfigure 2004-01-01 23:54 ` Ray Olszewski @ 2004-01-02 0:38 ` James Miller 2004-01-04 20:43 ` starting and stopping networking James Miller 1 sibling, 0 replies; 19+ messages in thread From: James Miller @ 2004-01-02 0:38 UTC (permalink / raw) To: linux-newbie On Thu, 1 Jan 2004, Ray Olszewski wrote: > At 11:44 PM 1/1/2004 +0000, jamtat@mailsnare.net 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. > > 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. > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* starting and stopping networking 2004-01-01 23:54 ` Ray Olszewski 2004-01-02 0:38 ` James Miller @ 2004-01-04 20:43 ` James Miller 2004-01-04 20:49 ` caszonyi 1 sibling, 1 reply; 19+ messages in thread From: James Miller @ 2004-01-04 20:43 UTC (permalink / raw) To: linux-newbie 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 20:43 ` starting and stopping networking James Miller @ 2004-01-04 20:49 ` caszonyi 2004-01-04 21:07 ` James Miller 0 siblings, 1 reply; 19+ messages in thread From: caszonyi @ 2004-01-04 20:49 UTC (permalink / raw) To: James Miller; +Cc: linux-newbie On Sun, 4 Jan 2004, James Miller wrote: > 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. > to stop network ifconfig eth0 down to start ifconfig eth0 up > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 20:49 ` caszonyi @ 2004-01-04 21:07 ` James Miller 2004-01-04 21:14 ` Jacob Langley 2004-01-04 21:19 ` caszonyi 0 siblings, 2 replies; 19+ messages in thread From: James Miller @ 2004-01-04 21:07 UTC (permalink / raw) To: caszonyi; +Cc: James Miller, linux-newbie On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote: > On Sun, 4 Jan 2004, James Miller wrote: > > > 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 > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:07 ` James Miller @ 2004-01-04 21:14 ` Jacob Langley 2004-01-04 21:19 ` caszonyi 1 sibling, 0 replies; 19+ messages in thread From: Jacob Langley @ 2004-01-04 21:14 UTC (permalink / raw) To: linux-newbie 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 On Sun, 2004-01-04 at 16:07, James Miller wrote: > On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote: > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > 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 > > > 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 majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs -- Jacob Langley <j_langley@sbcglobal.net> - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:07 ` James Miller 2004-01-04 21:14 ` Jacob Langley @ 2004-01-04 21:19 ` caszonyi 2004-01-04 21:28 ` James Miller 2004-01-04 21:32 ` Alan Bort 1 sibling, 2 replies; 19+ messages in thread From: caszonyi @ 2004-01-04 21:19 UTC (permalink / raw) To: James Miller; +Cc: linux-newbie On Sun, 4 Jan 2004, James Miller wrote: > On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote: > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > 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 > > > 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 :-) > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:19 ` caszonyi @ 2004-01-04 21:28 ` James Miller 2004-01-04 21:41 ` James Miller 2004-01-04 21:32 ` Alan Bort 1 sibling, 1 reply; 19+ messages in thread From: James Miller @ 2004-01-04 21:28 UTC (permalink / raw) To: linux-newbie On Sun, 4 Jan 2004 caszonyi@rdslink.ro 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:28 ` James Miller @ 2004-01-04 21:41 ` James Miller 2004-01-04 22:24 ` Ray Olszewski 0 siblings, 1 reply; 19+ messages in thread From: James Miller @ 2004-01-04 21:41 UTC (permalink / raw) To: linux-newbie On Sun, 4 Jan 2004, James Miller wrote: > On Sun, 4 Jan 2004 caszonyi@rdslink.ro 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. > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:41 ` James Miller @ 2004-01-04 22:24 ` Ray Olszewski 0 siblings, 0 replies; 19+ messages in thread From: Ray Olszewski @ 2004-01-04 22:24 UTC (permalink / raw) To: linux-newbie At 03:41 PM 1/4/2004 -0600, James Miller wrote: >On Sun, 4 Jan 2004, James Miller wrote: > > > On Sun, 4 Jan 2004 caszonyi@rdslink.ro 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. > > >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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:19 ` caszonyi 2004-01-04 21:28 ` James Miller @ 2004-01-04 21:32 ` Alan Bort 2004-01-04 23:26 ` Ray Olszewski 1 sibling, 1 reply; 19+ messages in thread From: Alan Bort @ 2004-01-04 21:32 UTC (permalink / raw) To: Calin Szonyi, James Miller; +Cc: linux-newbie why not just service network stop/start???? ----- Original Message ----- From: <caszonyi@rdslink.ro> To: "James Miller" <jamtat@mailsnare.net> Cc: <linux-newbie@vger.kernel.org> Sent: Sunday, January 04, 2004 7:19 PM Subject: Re: starting and stopping networking > On Sun, 4 Jan 2004, James Miller wrote: > > > On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote: > > > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > > > 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 > > > > > 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 :-) > > > 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 majordomo@vger.kernel.org > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 21:32 ` Alan Bort @ 2004-01-04 23:26 ` Ray Olszewski 2004-01-04 23:51 ` Alan Bort 0 siblings, 1 reply; 19+ messages in thread From: Ray Olszewski @ 2004-01-04 23:26 UTC (permalink / raw) To: linux-newbie 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. >----- Original Message ----- >From: <caszonyi@rdslink.ro> >To: "James Miller" <jamtat@mailsnare.net> >Cc: <linux-newbie@vger.kernel.org> >Sent: Sunday, January 04, 2004 7:19 PM >Subject: Re: starting and stopping networking > > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote: > > > > > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > > > > > 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)? [old stuff deleted] - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 23:26 ` Ray Olszewski @ 2004-01-04 23:51 ` Alan Bort 2004-01-05 0:28 ` Ray Olszewski 0 siblings, 1 reply; 19+ messages in thread From: Alan Bort @ 2004-01-04 23:51 UTC (permalink / raw) To: Ray Olszewski; +Cc: Linux Newbie /sbin/service, I know it doesn't work in SuSE, I never used Debian, I am basing this on redhat-like distributions. 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. > > >----- Original Message ----- > >From: <caszonyi@rdslink.ro> > >To: "James Miller" <jamtat@mailsnare.net> > >Cc: <linux-newbie@vger.kernel.org> > >Sent: Sunday, January 04, 2004 7:19 PM > >Subject: Re: starting and stopping networking > > > > > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > > > On Sun, 4 Jan 2004 caszonyi@rdslink.ro wrote: > > > > > > > > > On Sun, 4 Jan 2004, James Miller wrote: > > > > > > > > > > > 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)? > > [old stuff deleted] > > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to majordomo@vger.kernel.org > 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: cicciux@jabber.org ======================================================================= 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-04 23:51 ` Alan Bort @ 2004-01-05 0:28 ` Ray Olszewski 2004-01-05 3:11 ` Alan Bort 0 siblings, 1 reply; 19+ messages in thread From: Ray Olszewski @ 2004-01-05 0:28 UTC (permalink / raw) To: Linux Newbie 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-05 0:28 ` Ray Olszewski @ 2004-01-05 3:11 ` Alan Bort 2004-01-05 3:55 ` Juan Facundo Suárez 0 siblings, 1 reply; 19+ messages in thread From: Alan Bort @ 2004-01-05 3:11 UTC (permalink / raw) To: Ray Olszewski; +Cc: Linux Newbie 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 majordomo@vger.kernel.org > 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: cicciux@jabber.org ======================================================================= 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: starting and stopping networking 2004-01-05 3:11 ` Alan Bort @ 2004-01-05 3:55 ` Juan Facundo Suárez 0 siblings, 0 replies; 19+ messages in thread From: Juan Facundo Suárez @ 2004-01-05 3:55 UTC (permalink / raw) To: Linux Newbie 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" <333101@personal.net.py> To: "Ray Olszewski" <ray@comarre.com> Cc: "Linux Newbie" <linux-newbie@vger.kernel.org> 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 majordomo@vger.kernel.org | > 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: cicciux@jabber.org | ======================================================================= | 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 majordomo@vger.kernel.org | 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2004-01-05 3:55 UTC | newest] Thread overview: 19+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-12-31 19:33 disabled system speaker: how to enable? James Miller 2004-01-01 3:33 ` caszonyi 2004-01-01 23:44 ` Debian network reconfigure jamtat 2004-01-01 23:54 ` Ray Olszewski 2004-01-02 0:38 ` James Miller 2004-01-04 20:43 ` starting and stopping networking James Miller 2004-01-04 20:49 ` caszonyi 2004-01-04 21:07 ` James Miller 2004-01-04 21:14 ` Jacob Langley 2004-01-04 21:19 ` caszonyi 2004-01-04 21:28 ` James Miller 2004-01-04 21:41 ` James Miller 2004-01-04 22:24 ` Ray Olszewski 2004-01-04 21:32 ` Alan Bort 2004-01-04 23:26 ` Ray Olszewski 2004-01-04 23:51 ` Alan Bort 2004-01-05 0:28 ` Ray Olszewski 2004-01-05 3:11 ` Alan Bort 2004-01-05 3:55 ` Juan Facundo Suárez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox