|
I'm trying to get "inadyn" a dynamic DNS updater to work. http://inadyn.ina-tech.net/ I unzipped the files to my box, but I can't figure out the command. The help file isn't very good. It just says the executeable is in bin/linux/inadyn, but I can't figure out how to actually run it.
|
# ? Nov 27, 2007 22:57 |
|
|
# ? May 11, 2024 10:50 |
|
That didn't go so well. I tried fetching the drivers from the terminal, but when I restarted Ubuntu it just crashed. Weird.
|
# ? Nov 27, 2007 23:21 |
|
Ericcorp posted:I'm trying to get "inadyn" a dynamic DNS updater to work. http://inadyn.ina-tech.net/ cd bin/linux ./inadyn So if you extracted it to /home, cd /home/inadyn/bin/linux ./inadyn Dr. Hourai posted:That didn't go so well. I tried fetching the drivers from the terminal, but when I restarted Ubuntu it just crashed. Weird. The drivers are here. Extract them, cd to the directory you extracted them to, and run ./configure make sudo make install
|
# ? Nov 27, 2007 23:32 |
|
Right, I just got Gutsy working fairly well, but there's one problem which is going to really annoy me if I don't get it sorted. When I'm playing videos (only tried in VLC, don't know if it happens in other players too), the display will shut off after 10 minutes. Now this is odd because in "power management" the setting is for 40 minutes. I guess this is known but I can't find anything about it on google. Anyone got a fix?
|
# ? Nov 28, 2007 00:01 |
|
ribena posted:Right, I just got Gutsy working fairly well, but there's one problem which is going to really annoy me if I don't get it sorted. When I'm playing videos (only tried in VLC, don't know if it happens in other players too), the display will shut off after 10 minutes. Now this is odd because in "power management" the setting is for 40 minutes. I guess this is known but I can't find anything about it on google. Anyone got a fix? There are separate settings in "Screensaver". Also on Linux gxine >> VLC.
|
# ? Nov 28, 2007 00:11 |
|
Ericcorp posted:I'm trying to get "inadyn" a dynamic DNS updater to work. http://inadyn.ina-tech.net/
|
# ? Nov 28, 2007 00:15 |
|
teapot posted:If you use Debian or Ubuntu, just install its package from repositories. Yes, it's already there. Heh. I've only used Linux for about four hours total. I have no idea how to do this.
|
# ? Nov 28, 2007 00:35 |
|
jaymack posted:From a terminal, cd to wherever you extracted inadyn to, then: code:
code:
|
# ? Nov 28, 2007 00:38 |
|
Ericcorp posted:Heh. I've only used Linux for about four hours total. I have no idea how to do this. System -> Administration -> Synaptic - Install it from there. Then you should be able to run it using the terminal. teapot posted:There are separate settings in "Screensaver". Also on Linux gxine >> VLC. OK cool I've turned off the screensaver there. Irritating that VLC can't/won't disable it though.
|
# ? Nov 28, 2007 00:42 |
|
what would be a use case for: run-parts --reverse /some/directory
|
# ? Nov 28, 2007 00:55 |
|
jaymack posted:From a terminal, cd to wherever you extracted inadyn to, then:
|
# ? Nov 28, 2007 01:02 |
|
Z-Bo posted:what would be a use case for: You've rigged the dependencies w/ explicit ordering per-script, when you're recalling each script on some kind of shutdown you want to do it LIFO to respect the dependencies. think sysvinit w/o separate symlinks (separate ordering) for S/K, LIFO is the most natural way to want things to run w/o the complication.
|
# ? Nov 28, 2007 01:04 |
|
Z-Bo posted:what would be a use case for: Stopping services or reversing changes that were done by scripts that do/start something and undo/stop it when given different arguments.
|
# ? Nov 28, 2007 01:07 |
|
Dr. Hourai posted:Ok, I'm sorry if I'm completely Linux-retarded, but I've never done this before. It just says ./configure no such file or directory This is how you install from sources unpacked from a tarball. code:
code:
code:
code:
More "modern" version of this will be: code:
Since a packaged version of inadyn is already in repository, there is no point in doing it because code:
code:
will install everything from a package that was built already.
|
# ? Nov 28, 2007 01:19 |
|
Ericcorp posted:
First of all, don't install binaries into /etc. Second, you have to make the file executable before you can run it: code:
code:
|
# ? Nov 28, 2007 01:24 |
|
teapot posted:Stopping services or reversing changes that were done by scripts that do/start something and undo/stop it when given different arguments. I kind of figured this, but what I am really trying to find is a concrete example where this is actually done. I mean, I understand that "run-parts" is intended to run scripts in chunks, and so the scripts are likely to be different only by a character or two, probably a digit. But, why would I want switch back and forth from scriptchunk1 to scriptchunk9, and from scriptchunk9 to scriptchunk1.
|
# ? Nov 28, 2007 01:27 |
|
Z-Bo posted:I kind of figured this, but what I am really trying to find is a concrete example where this is actually done. I mean, I understand that "run-parts" is intended to run scripts in chunks, and so the scripts are likely to be different only by a character or two, probably a digit. But, why would I want switch back and forth from scriptchunk1 to scriptchunk9, and from scriptchunk9 to scriptchunk1. They may be dependent services (like init scripts) that should be stopped in the reverse order, patches that can be only applied and reversed in order because they may match the results of previous patches, parts of the build process that generate configuration and run build scripts then clean the build tree and reverse the configuration to rebuild the same target with other options... teapot fucked around with this message at 01:39 on Nov 28, 2007 |
# ? Nov 28, 2007 01:35 |
|
teapot posted:Code about VIA-stuff /bin/mkdir: cannot create directory `/usr/local/lib/xorg': Permission denied make[2]: *** [install-openchrome_drv_laLTLIBRARIES] Error 1 make[2]: Leaving directory `/home/geir/ho/xf86-video-openchrome-0.2.900/src' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/geir/ho/xf86-video-openchrome-0.2.900/src' make: *** [install-recursive] Error 1 is what it says
|
# ? Nov 28, 2007 01:45 |
|
Dr. Hourai posted:Thanks, that went well until the last step (make install) Did you do "sudo make install"?
|
# ? Nov 28, 2007 02:02 |
|
Zuph posted:Did you do "sudo make install"?
|
# ? Nov 28, 2007 02:05 |
|
Dr. Hourai posted:Doh! I only wrote make install. Now I typed sudo make install and it worked. Do I have to reboot for the drivers to start working? Technically, you only have to restart your X Server, but it's easier to tell newbies to reboot.
|
# ? Nov 28, 2007 02:18 |
|
I'm trying to setup a MythTV user job to encode my recorded programs to xvid using mencoder (Too many problems with ffmpeg, even after a recompile from the latest CVS -- the divx files it produces have huge, random colored blocks all over the recording, no idea why) It has been working nicely, but the file size of the output files is completely random and unpredictable. Sometimes an hour show is about 350 MB (well, 44 minutes minus the commercials) and sometimes it's 900 MB ... all using the same settings. It seems like the variable bit rate function is wildly unpredictable. I tried to set it up using a constant bit rate, but the command line it generates for mencoder is wrong (it adds the bitrate to the lameopts paramater instead of the xvidopts or whatever it is so the job crashes out) .. Looking at the output of two files created by the job right now in windows explorer here's file one: Duration: 00:48:51 Data Rate 302kbps File size: 867 MB and here's another encoded a few hours before: Duration: 00:41:33 Data Rate: 116kbps File Size: 283 MB I'm happy with the quality of the second file, and there's no way I can archive 1 GB for a 45 minute video, that's just ridiculous. Is this due to the achieved bit rate fluctuating heavily for VBR? Is there a way I can fix it to make it closer to what I request (I'm looking for 1296). If not, is there a way to make nuvexportrc-xvid with using a CBR? Failing either of those options, I'd be perfectly happy to try ffmpeg if I could figure out why my divx encodings have those huge artifacts. I can't seem to find a resource online that works for me. This is my xvid nuvexportrc set up: code:
Rayn fucked around with this message at 03:13 on Nov 28, 2007 |
# ? Nov 28, 2007 03:05 |
|
ribena posted:System -> Administration -> Synaptic - Install it from there. Then you should be able to run it using the terminal. I really need to do it from terminal. My employer will not let me run a graphical linux on any of our machines we have in the field. I only have graphical Ubuntu for my dev server to learn on, but I want to use the graphical options as little as possible.
|
# ? Nov 28, 2007 03:07 |
|
teapot posted:First of all, don't install binaries into /etc. Thanks for the help. I made it an executable and it's working fine now. I just need to figure out how to make it run at start up.
|
# ? Nov 28, 2007 05:29 |
|
Ericcorp posted:Thanks for the help. I made it an executable and it's working fine now. I just need to figure out how to make it run at start up. code:
sudo chmod +x /etc/init.d/inadyn And make it run at startup with: sudo update-rc.d inadyn defaults I'm pretty sure that'll work, but I use FreeBSD, so I can't be entirely sure.
|
# ? Nov 28, 2007 06:08 |
|
Ericcorp posted:I really need to do it from terminal. My employer will not let me run a graphical linux on any of our machines we have in the field. I only have graphical Ubuntu for my dev server to learn on, but I want to use the graphical options as little as possible.
|
# ? Nov 28, 2007 13:39 |
|
One more question: Does anyone know how to get grep to list the matches like normal, but also output the count at the end? So: code:
code:
|
# ? Nov 29, 2007 23:11 |
|
code:
|
# ? Nov 29, 2007 23:32 |
|
Ok this one should be easy. I have a number of samba shares mounted to various directories in my file system in my fstab. Upon system boot, theses shares are not automatically mounted. So, I wrote a script and added it to my /etc/init.d/ directory that calls 'mount -a'. Still no love. So, everytime I reboot, I need to term in and type mount -a, then everything works fine. Is there a way I can have this happen on boot properly?
|
# ? Nov 30, 2007 14:59 |
|
I'm writing a bash shell script where I want to take the contents of a variable, remove any periods in it, and then put the result in another variable. But I have no idea what command can do that because I know very little about unix shells. Can someone help me with this?
|
# ? Nov 30, 2007 19:28 |
|
GuyGizmo posted:I'm writing a bash shell script where I want to take the contents of a variable, remove any periods in it, and then put the result in another variable. But I have no idea what command can do that because I know very little about unix shells. Can someone help me with this? Is this what you want? code:
code:
|
# ? Nov 30, 2007 19:48 |
|
Rayn posted:I have a number of samba shares mounted to various directories in my file system in my fstab. Upon system boot, theses shares are not automatically mounted. So, I wrote a script and added it to my /etc/init.d/ directory that calls 'mount -a'. Still no love. So, everytime I reboot, I need to term in and type mount -a, then everything works fine.
|
# ? Nov 30, 2007 21:22 |
|
My computer locked up and I had to switch of the power supply. I knew something bad was going to happen, but I had no other way to access it. When it came back up it rebuilt the journal (ext3) on my external drive and on my raid array. The raid array appears to be okay, but the external drive doesn't have anything on it anymore, but the space shows up as used with df. I tried to run fsck on the drive, but it runs out of memory and stops. Apparantly it tries to load all the inodes into memory or something. I thought, okay, and hooked up a spare external drive, and set it to be swap. I now had 80 gigs of swap space, it can't run out of memory. Well, when i ran it again it did run out of memory. So I did some googling and it looks like there's a limit to how much memory one process can allocate on an i386 system, and fsck is reaching that. My plan is to bring the drive into work where I have linux machines with x86_64 os. This should work right? Is there an easier way for me to repair this drive?
|
# ? Nov 30, 2007 21:52 |
|
I have a Sun SparcStation 4 that I am going to be selling. Before I sell it I want to zero the drive and if possible, install a distro of linux or BSD on it. So what I'm looking for is a bootable floppy or small set of floppies that will first allow me to zero the drive completely, then install a very basic rudimentary copy of linux or BSD. Or if there is a distro of linux or BSD that runs completely from the floppy that would be OK too. Caveats: It has no cd drive so only floppies. I only have a wireless connection so nothing that downloads a bunch of packages from the net.
|
# ? Dec 1, 2007 21:18 |
|
commonbrick posted:I have a Sun SparcStation 4 that I am going to be selling. Before I sell it I want to zero the drive and if possible, install a distro of linux or BSD on it.
|
# ? Dec 2, 2007 01:17 |
|
Why does every network monitor I find return its values in kilobytes? Isn't it rather arbitrary after rounding and so forth? In an attempt to get a precise figure I am parsing /proc/net/dev but I am uncertain how correct my math is, or how proper using sleep between readings is, either. code:
DEAD MAN'S SHOE fucked around with this message at 19:32 on Dec 2, 2007 |
# ? Dec 2, 2007 18:03 |
|
One question, my home PBX is doing pretty well, I've managed to install Asterisk, and get it configured, I'm now making calls inside my own little phone system, but I have one general linux question. I keep getting stuck in prompts. Some times I don't have the answer the prompt wants, how do I return to the root prompt? Exit or quit, or CTRL something?
|
# ? Dec 3, 2007 02:14 |
|
Ericcorp posted:One question, my home PBX is doing pretty well, I've managed to install Asterisk, and get it configured, I'm now making calls inside my own little phone system, but I have one general linux question. control-Z and the shell built-in 'fg' are the simplest way to suspend a prompt from an interactive shell script.
|
# ? Dec 3, 2007 02:19 |
|
covener posted:control-Z and the shell built-in 'fg' are the simplest way to suspend a prompt from an interactive shell script. Thanks. Now for Ubuntu, to make something run at start up, I make a file called "asterisk" and in the file I have this text: # Asterisk Boot up start on runlevel-2 stop on shutdown respawn //usr/sbin/asterisk I don't know if this is right, or if I need to "exec" before the last line.
|
# ? Dec 3, 2007 02:32 |
|
|
# ? May 11, 2024 10:50 |
|
Ericcorp posted:One question, my home PBX is doing pretty well, I've managed to install Asterisk, and get it configured, I'm now making calls inside my own little phone system, but I have one general linux question. Where do you get any prompts when working with Asterisk? Asterisk runs as a server, its scripts run in its own interpreter, and its console is completely asynchronous. The only program with prompts I used with Asterisk is a voice messages generator script I wrote as a frontend to Festival.
|
# ? Dec 3, 2007 03:03 |