|
J. Elliot Razorledgeball posted:For whatever reason my LAN connection shows up as eth1 - how can I disable eth0 on startup (ifdown eth0)? I'm not too good with understanding Linux startup scripts. you can also get this if you've ever had another network card in the system and udev is remembering your old MAC address should be eth0. grep -r eth0 /etc/udev
|
# ? Jul 23, 2008 00:25 |
|
|
# ? May 12, 2024 20:39 |
|
Accipiter posted:Because you have two network cards. Turn off the one you're not using. How do I turn it off in ssh? I'm running FC8.
|
# ? Jul 23, 2008 00:26 |
|
J. Elliot Razorledgeball posted:How do I turn it off in ssh? Err... this is OS independent. Check your BIOS.
|
# ? Jul 23, 2008 00:40 |
|
Accipiter posted:Err... this is OS independent. Check your BIOS. Well back to the original question - how can I just get my system to run ifdown eth0 every time it starts up?
|
# ? Jul 23, 2008 00:43 |
|
J. Elliot Razorledgeball posted:Well back to the original question - how can I just get my system to run ifdown eth0 every time it starts up? ifdown eth0 isn't going to magically make eth1 turn into eth0 you know. But you can stick it in /etc/rc.local if you want.
|
# ? Jul 23, 2008 00:44 |
|
Accipiter posted:ifdown eth0 isn't going to magically make eth1 turn into eth0 you know. I know it won't, that's exactly why I'm doing this instead of messing with the BIOS. I've set up my config just as it should be for eth1, and it works perfectly, but the routing doesn't work right to certain destinations unless I put down eth0 first. Thanks.
|
# ? Jul 23, 2008 00:51 |
|
J. Elliot Razorledgeball posted:How do I turn it off in ssh? I'm running FC8. # mv /etc/sysconfig/network-scripts/ifcfg-eth0 /some/backup/dir/ Edit: Or modify the file by add/changing the line to ONBOOT=no Mr. Eric Praline fucked around with this message at 14:25 on Jul 23, 2008 |
# ? Jul 23, 2008 03:21 |
|
So this is a fairly simple question and I'm sure the answer is completely obvious. Forgive me, I'm a newb. I just installed the newest Ubuntu server edition. I transferred over some files into a directory I created called /share. I made sure to chmod the directory and all the sub-directories as 777. Today I decided to delete some redundant files off the transfer. Everything was going fine until I got to my folder /share/Videos/TV. All of the files and directories in there refuse to be deleted. Every time I try and delete them I get " 'Failed to remove [file]': Read-only file system" I went back and tried to chmod the files again, and I get "changing permissions of '/share/Videos/TV': Read-only file system". These are any file that's stored in this directory, whether it's an AVI or txt file. All the other folders and files in /share can be deleted or modified just fine. What simple little thing am I missing?
|
# ? Jul 23, 2008 15:30 |
|
HKR posted:So this is a fairly simple question and I'm sure the answer is completely obvious. Forgive me, I'm a newb. What output do you get for: mount cat /etc/fstab df /share/Videos/TV If you don't see anything about ro in /etc/fstab you can try looking at dmesg or /var/log/messages to figure out why it was mounted read only. Also chmoding everything 777 is really unnecessary, you might want to read up on file permissions. SynVisions fucked around with this message at 16:16 on Jul 23, 2008 |
# ? Jul 23, 2008 16:01 |
|
SynVisions posted:Also chmoding everything 777 is really unnecessary, you might want to read up on file permissions. try mount -o remount,rw /share/videos/tv
|
# ? Jul 23, 2008 16:46 |
|
Loaded Xubuntu onto my laptop, everything but sound works. aplay -l shows the sound device and so does lspci -v. However, the "master" volume slider just doesn't work, just PCM. I've tried all the various things suggested on the web, including installing the latest alsa drivers and adding a line to a file that's supposed to activate my sound. It's a Toshiba laptop with an ATI motherboard running a Realtek ALC861 sound chip. Any ideas?
|
# ? Jul 23, 2008 21:07 |
|
ZeeBoi posted:Loaded Xubuntu onto my laptop, everything but sound works. aplay -l shows the sound device and so does lspci -v. Open up a terminal, type "alsamixer", then make sure that PCM, Mono, and Master levels are up to normal levels. If not, adjust them.
|
# ? Jul 24, 2008 02:01 |
|
gt chizmack posted:Open up a terminal, type "alsamixer", then make sure that PCM, Mono, and Master levels are up to normal levels. If not, adjust them. Assuming that fixes it, code:
Actually, just thinking about it, if changing the alsa mixer doesn't work, do check that you are set to use alsa and not pulseaudio (new sound system in 8.04). In Gnome you can switch between the two in the sound preferences dialogue and I assume there is something similar in Xfce. Prince John fucked around with this message at 11:07 on Jul 24, 2008 |
# ? Jul 24, 2008 10:59 |
|
Not sure where exactly this fits, but I need a suggestion for a way of implementing a shutdown procedure for power failure. I have a Belkin UPS with usb, and my plan was to have it hooked up to my windows pc and have it do the monitoring. I noticed in the power options control panel in windows that it can execute a program at a certain battery level. My idea was to execute some kind of script at critical battery level to send a shutdown command to the linux box. The only question is how. I may be re-inventing the wheel here as I haven't looked real hard at a linux native management solution, but I feel like I could learn a lot trying it this way. So where should I start? I'm totally talking out of my rear end, but I was thinking of possibly having a port triggered on the linux box by a batch script on the windows box? Running Ubuntu if it matters.
|
# ? Jul 24, 2008 11:32 |
|
Just write a script that SSH's into the linux box and issues a shutdown. You can download cygwin if you want, but I'd be surprised if this wasn't possible with a regular windows SSH client like putty. Just make sure you generate a key so you can use public key authentication.
SynVisions fucked around with this message at 16:10 on Jul 24, 2008 |
# ? Jul 24, 2008 16:00 |
|
gt chizmack posted:Open up a terminal, type "alsamixer", then make sure that PCM, Mono, and Master levels are up to normal levels. If not, adjust them.
|
# ? Jul 24, 2008 18:31 |
|
ZeeBoi posted:Thing is, I can't change the level of Master, only PCM and one or two other input sources. Is this in the console alsamixer program?
|
# ? Jul 24, 2008 18:32 |
|
gt chizmack posted:Is this in the console alsamixer program?
|
# ? Jul 24, 2008 18:48 |
|
hello, i have recently bought a radeon HD4850 and have been using Ubuntu now for the past three years but for the holidays i have been booting into windows for gaming pretty much non stop, now i have returned to uni i noticed that compiz is not working. (I upgraded the graphics card abou a month ago and haven't booted into ubuntu since.) i was looking at the work around s but they appear to have a few glitches and blips, i really don't want my OS dying after finishing an assignment. my question is how long would your estimate be for the card to be added to supported cards list in the ubuntu repositories? ( i have a feeling that the answer may be "how long is a piece of string?" : ) i know the problems is the graphics because when i run compiz in the terminal it notes that my graphics card doesn't exist in the database
|
# ? Jul 26, 2008 13:29 |
|
Im about to reinstall Jinzora because I recall there being an alternate way the database/interface is set up but before I do, what are some other good music streaming packages with GOOD interfaces? Like right now, I have three folders with a bunch of folders (each one an album) underneath, each containing music and I want Jinzora to look exactly like that file structure. Which it doesn't, and that makes browsing a complete bitch. also - does anyone have a link to that "cool stuff to do with two nics cards" article that was on slashdot or digg a while back? rugbert fucked around with this message at 16:20 on Jul 26, 2008 |
# ? Jul 26, 2008 16:18 |
|
Well, installing Ubuntu proper allows me to have sound and wireless at the same time - a first after so many tries!
|
# ? Jul 26, 2008 19:06 |
|
I'm having some issues with my lvm, hoping for some help. Running Ubuntu 8.04; LVM2; ReiserFS I had 2 drives in my lvm which started to get full. So I decided to pick up a new drive. My motherboard only has 2 SATA controllers, so I also picked up a PCI -> SATA controller. Fast forward about 2 weeks, I start to get some really bad performance issues on the drive. My assumption is that the first 2 disks finaly filled up and its starting to use the new drive. I'm unable to copy any (new)file larger than 56.9MB. Any file created before the new drive was added to the LVM is fine. This is both when doing a copy from 1 folder to the next, but also during scp transfers. My first assumption is that PCI really wasn't the brightest idea, so I ordered a new PCI-e -> Sata. The LVM detects the drive just fine, but the same issue. So now, I'm assuming maybe the drive is messed up. I run a reiserfsck, and it detects no errors. I decide to try and remove the drive from the lvm, and durring the resize_reiser I get an error about bad blocks. So now, I'm wanting to pull the new drive from the lvm, and I'll create a new lvm device with the drive for testing before I RMA the drive. Since I cannot resize the reiserFS; How can I pull the drive from the LVM? Any other ideas about the drive/LVM that I might of missed?
|
# ? Jul 27, 2008 19:13 |
|
I'm in a very basic networking class online right now, and one of the assignments is to design a network (on paper). The setup is that there are 4 computers, all of them Pentiums built in 1999 and running Windows 95, only one of which currently has access to the internet. The proposal also calls for it to be pretty cheap, so I've been doing some looking around at Linux for the software. So far, I'm thinking of RedHat as the main OS, and OpenOffice to replace WordPerfect. The existing network also uses MS Access for files; would Samba or PostgreSQL + ReKall work better for that? The professor hasn't given us specifics on what kind of computers we're working with, and probably isn't going to; this is more of a theory / setup exercise than an actual "putting together a network" assignment, and I'm a little paranoid I'll accidentally put in an application that won't run on the machines.
|
# ? Jul 27, 2008 21:18 |
|
I'm not sure if the following will give me a coaster or not, so I better ask you guys before I try out: find foldername/ -name *.gpg -ctime -5 -print0 | xargs -0 growisofs -M /dev/cdrw -r '{}' \; so all those files named *.gpg changed five days ago or fewer will get burned as a session to my DVD-R. That's the idea.
|
# ? Jul 27, 2008 23:15 |
|
Gotta quote the *.gpg lest your shell expand it for you And, what's the '{}'\; part for? That's usually found when using find -exec, and AFAIK has no meaning when used with xargs, although I could be misremembering things and xargs accepts it too. Never used growisofs so no idea if those are the right args otherwise
|
# ? Jul 28, 2008 00:42 |
|
SuicidalSmurf posted:So where should I start? I'm totally talking out of my rear end, but I was thinking of possibly having a port triggered on the linux box by a batch script on the windows box? Running Ubuntu if it matters. Here's a quick rundown to get you started, I had a setup similar to this when I had a lovely powerwave UPS. You'll have to lock it down though. 1) Get Putty, PuttyGen and Plink from Here. 2) Use Puttygen to create a ssh key without a passphrase. 3) Create a new user on the linux box and give them that key (/home/<user>/.ssh/authorized_keys) 4) Edit the /etc/sudoers file to give that user the shutdown command only. (<user> ALL = NOPASSWD: /sbin/shutdown) 5) Create a Putty Session with the username and key you created, then save it as something like "shutdown" 6) Write a .bat script with something like (plink shutdown sudo shutdown -h now) in it.
|
# ? Jul 28, 2008 02:03 |
|
ZeeBoi posted:Well, installing Ubuntu proper allows me to have sound and wireless at the same time - a first after so many tries! I have sound, but wireless is the problem. Apparently though I have a card that does work in Linux, a Netgear MA521 with the Realtek 8081L chipset. I'm confused as to how to proceed, because this site http://rtl8180-sa2400.sourceforge.net/ says it has the drivers for it, but I can't figure out how to proceed. Can someone get me pointed in the right direction? It seems like the solution is out there but I just can't piece together all the clues to figure it out. I am a tiny little Linux babby.
|
# ? Jul 28, 2008 20:02 |
|
The Finn posted:Netgear MA521 + Ubuntu Searching the Official Ubuntu Forums are always a good start, especially with brand-name hardware. The community is huge so chances are someone already tried to get it working at some point. edit: Note that the thread I linked to was posted three years ago, but the Win32 drivers might still be easier to install nowadays. I don't actually have experience with that card.
|
# ? Jul 28, 2008 21:01 |
|
I found out why sound worked in Ubuntu and not Xubuntu: Ubuntu uses OSS and not ALSA by default. The Finn posted:I have sound, but wireless is the problem. Apparently though I have a card that does work in Linux, a Netgear MA521 with the Realtek 8081L chipset. I'm confused as to how to proceed, because this site http://rtl8180-sa2400.sourceforge.net/ says it has the drivers for it, but I can't figure out how to proceed. Can someone get me pointed in the right direction? It seems like the solution is out there but I just can't piece together all the clues to figure it out. I am a tiny little Linux babby.
|
# ? Jul 28, 2008 21:02 |
|
Short question that I've been wondering about since I started playing with Linux several years ago: In Gnome, what does mouse "sensitivity" do? "Acceleration" changes the sensitivity.
|
# ? Jul 29, 2008 01:08 |
|
I'm going to feel pretty dumb if this is obvious, but I'm playing around with distributions and I wanted to give Ubuntu Server a try. Coming from OpenSuse, I found it nice to be able to configure common items through Yast via the commandline. Is there something similar in Ubuntu? I'm fine with editing config files by hand, but Yast was nice for things like firewall setup. I'm working on headless systems mostly so I'm looking specifically for cmdline tools.
|
# ? Jul 29, 2008 17:45 |
|
Not sure exactly how Yast configures things in a way that differs from editing config files; Debian-based systems use the apt suite of tools (apt-get, aptitude, dpkg, etc). One feature of apt is that a package manager can define a configuration script to be run at install time (the system that handles this is called 'debconf') and so instead of just getting the usual installation output, the sysadmin will get a curses-based series of dialogs asking e.g. what the root MySQL password should be (for mysql-server) or how Postfix should be set up, as a standalone host / full mail server / satellite host / etc (for postfix). You can then run dpkg-reconfigure <packagename> at any time post-installation and it will re-run those dialogs, letting you re-do the configuration. No idea if this overwrites manual changes done during the interim -- I'd expect so. I'm guessing that's the sort of thing you're talking about? Only some Debian packages have this sort of thing defined, but I'd expect it to be the same with Yast: only when someone has taken the time to define these config question-answer patterns will you get to use them. If you mean non-package-related stuff like your firewall example, I don't know of any built-in programs that give you a curses-based interface to configurations like that, but I don't look for that either, being a fan of config files
|
# ? Jul 29, 2008 18:00 |
|
That's pretty much where I was going with it, thanks. I'm plenty OK with text based config files but there are times where I feel it is nice to get a window with some checkboxes, but that could just be me having spent the last ten years as a Windows developer
|
# ? Jul 29, 2008 18:03 |
|
bitprophet posted:Gotta quote the *.gpg lest your shell expand it for you You're right, the '{}'\; is from find -exec. I'm just not sure about this translating to growisofs 1.gpg, growisofs 2.gpg, growisofs 3.gpg instead of growisofs 1.gpg 2.gpg 3.gpg That is, growisofs burning three sessions instead of one with all three files.
|
# ? Jul 29, 2008 18:05 |
|
MargotK posted:You're right, the '{}'\; is from find -exec. I'm just not sure about this translating to Add the -x option to xargs, and it will fail if it can't fit all the arguments in one invocation of the command.
|
# ? Jul 29, 2008 22:13 |
|
What's the easiest way to get a file from my windows machine to a SunOS machine on my network? I can ssh to the Sun machine, but I don't know how to transfer a file to it.
|
# ? Jul 31, 2008 16:01 |
|
almostkorean posted:What's the easiest way to get a file from my windows machine to a SunOS machine on my network? I can ssh to the Sun machine, but I don't know how to transfer a file to it. WinSCP.
|
# ? Jul 31, 2008 16:09 |
|
Accipiter posted:WinSCP.
|
# ? Jul 31, 2008 17:39 |
|
I have a question about freeBSD is that allowed? I don't have much *nix experience. This morning I installed freeBSD on a laptop as a trial and the internet on it works. Then I installed it on my desktop and left windows XP as the primary OS. I don't seem to be able to connect to the internet from freeBSD but I can from windows (although for some reason it seems to take a second time in a row booting into windows for it to work, when I switch from freeBSD to windows I can't connect to the internet) Here's pictures of what I get from ifconfig laptop, working internet: Click here for the full 1280x960 image. desktop, no internet: Click here for the full 1280x960 image. I've tried is messing around with the network configuring options under sysinstall for an hour but no avail. edit: internet is regular adsl w/cat cable to modem helixxo fucked around with this message at 22:24 on Aug 1, 2008 |
# ? Aug 1, 2008 21:55 |
|
|
# ? May 12, 2024 20:39 |
|
helixxo posted:I have a question about freeBSD is that allowed? Make sure your /etc/rc.conf has ifconfig_ed0="DHCP" if you are looking for dhcp, static is like any other UNIX machine. Then restart networking with /etc/netstart
|
# ? Aug 1, 2008 22:24 |