|
Is there some difference between the linux/unix traceroute and the Microsoft one? For some reason my apartment's internet connection seems to run through the local university which makes it impossible to use tracert for anything on Windows (it blocks it or something), but it works fine on my linux system. Just thought that was weird.
|
# ? Feb 4, 2009 08:49 |
|
|
# ? May 10, 2024 01:27 |
|
Harokey posted:Anyone know of a decent, cheap flatbed scanner for Linux? I mostly want it for scanning in technical drawings/notes from class. OCR stuff would be nice too if for scanning in handouts and whatnot. My Canoscan LiDE scanner was cheap, had a single USB cable for power and pretty thin.
|
# ? Feb 4, 2009 09:12 |
|
Fortuitous Bumble posted:Is there some difference between the linux/unix traceroute and the Microsoft one? For some reason my apartment's internet connection seems to run through the local university which makes it impossible to use tracert for anything on Windows (it blocks it or something), but it works fine on my linux system. Just thought that was weird. I'm going to guess that Windows traceroute uses ICMP pings for tracing, whereas your linux traceroute is using UDP packets for tracing. Somewhere along the line your ISP is dropping pings, but they can't reasonably drop UDP packets. Try the -I switch on the linux traceroute, it should then exhibit the same behavior as the Windows version.
|
# ? Feb 4, 2009 09:28 |
|
Peanutmonger posted:I'm going to guess that Windows traceroute uses ICMP pings for tracing, whereas your linux traceroute is using UDP packets for tracing. Somewhere along the line your ISP is dropping pings, but they can't reasonably drop UDP packets. Try the -I switch on the linux traceroute, it should then exhibit the same behavior as the Windows version. alternatively, make sure your router is allowing tracert/icmp to go through, I couldn't figure out why I couldn't get it to work when I got a new connection until I was playing in the router settings one day.
|
# ? Feb 4, 2009 11:05 |
|
Zom Aur posted:If it's mostly going to be commandline, I'd recommend Arch or Debian as usual. They should suit your needs without any real bloat. Or Ubuntu's server edition (different download/ISO image than the "normal" or desktop one) which is basically Debian with Ubuntu's package repositories. I.e. no X11 by default; significantly reduced basic install footprint; etc. Arch and Debian are always good alternatives, of course, I've used both in the past. Arch especially is good if you need to build your own packages (Debian's system is more flexible/mature but also necessarily more complicated).
|
# ? Feb 4, 2009 15:35 |
|
I'm looking for a way to make the following "script" more elegant:quote:echo -e "From: calendar@studio\nTo: user@blabla.com\nSubject: Calendar Preview" > email.txt; calendar -A 32 >> email.txt; cat email.txt | msmtp -t ... and by elegant I mean making it work without having to create that email.txt-file. There's gotta be a way to pipe all this to msmtp at once, I just don't know how.
|
# ? Feb 4, 2009 17:17 |
|
bitprophet posted:Or Ubuntu's server edition (different download/ISO image than the "normal" or desktop one) which is basically Debian with Ubuntu's package repositories. I.e. no X11 by default; significantly reduced basic install footprint; etc. However, if the shoe fits... bitprophet posted:Arch and Debian are always good alternatives, of course, I've used both in the past. Arch especially is good if you need to build your own packages (Debian's system is more flexible/mature but also necessarily more complicated).
|
# ? Feb 4, 2009 17:28 |
|
MargotK posted:I'm looking for a way to make the following "script" more elegant: code:
|
# ? Feb 4, 2009 17:33 |
|
covener posted:
awesome, just what I was hoping for!
|
# ? Feb 4, 2009 17:46 |
|
Is there any good GPS software for linux? I'm using a Garmin GPSMap 60CS. I'm using it when going biking/hiking, and I'd like to download the waypoints to track where I've been etc. I can get the current location etc from xgps, and I can download waypoints via gpsbabel. On the Ubuntu forums, the discussion quickly went down the path of using WINE and MapSource. I'd rather stick with native if I can . If not I think I'll find a website.
|
# ? Feb 5, 2009 01:37 |
|
Fortuitous Bumble posted:Is there some difference between the linux/unix traceroute and the Microsoft one? For some reason my apartment's internet connection seems to run through the local university which makes it impossible to use tracert for anything on Windows (it blocks it or something), but it works fine on my linux system. Just thought that was weird. Is Windows Firewall on?
|
# ? Feb 5, 2009 02:41 |
|
I have installed apache2 and php5 on a fresh debian server. A script I have runs fine until it gets to a point where it uses fopen() on an external url. The page outputs absolutely nothing. No error or anything. allow_url_fopen is on, so that isn't it. Is there something maybe that I have to adjust in my iptables so it can make an outgoing request like this?
|
# ? Feb 5, 2009 05:39 |
|
deong posted:Is there any good GPS software for linux?
|
# ? Feb 5, 2009 08:56 |
|
Kaluza-Klein posted:I have installed apache2 and php5 on a fresh debian server. A script I have runs fine until it gets to a point where it uses fopen() on an external url. The page outputs absolutely nothing. No error or anything. allow_url_fopen is on, so that isn't it. That would be unusual. try prepending this to your script for a better hint: error_reporting(E_ALL); ini_set('display_errors', '1');
|
# ? Feb 5, 2009 12:35 |
|
jegHegy posted:Viking (in the repos) can show you imported tracks as well as some stats but it's not really designed for rides so I mostly end up on GPSies. Cool thanks. After trying to download the info off the Garmin, it turns out with gpsbable I only got the waypoint marks. Do you know off hand how to grab the saved tracks? I don't have the gps w/ me at the moment to mess around with it, but I imagine it won't be too hard.
|
# ? Feb 5, 2009 17:49 |
|
deong posted:Cool thanks.
|
# ? Feb 5, 2009 18:09 |
|
jegHegy posted:No idea about Garmin devices, sorry. Do they run Windows Mobile? If so, there are several free GPS loggers available, browse around on http://freewarepocketpc.net. It seems to run Garmins' own OS from what I can tell. It does have a gps tracker, I just need to figure out how to download the data. It lets you save both waypoints, and your logged tracks. I can d/l the waypoints, but the aren't very useful heh. I'll see if there's anything obvious in the man. Thanks for looking though. edit: it looks like it may be as easy as changing the switch options from between -w, -r, -t. I'll mess with it when I get home for sure.
|
# ? Feb 5, 2009 18:22 |
|
At work I am using Samba as a PDC for windows workstations... the thing that is annoying is that it synchronizes a bunch of poo poo when you log in and log off, one of them being the windows Desktop. This is annoying because people always download big files to there, so when they log off, it takes forever to copy that poo poo to where their roaming profile is. So my question is, how can I tell Samba to skip synchronizing just Desktop (~/.profileNT/Desktop)?
|
# ? Feb 6, 2009 20:46 |
|
Eyecannon posted:At work I am using Samba as a PDC for windows workstations... the thing that is annoying is that it synchronizes a bunch of poo poo when you log in and log off, one of them being the windows Desktop. This is annoying because people always download big files to there, so when they log off, it takes forever to copy that poo poo to where their roaming profile is. http://wiki.samba.org/index.php/Samba_&_Windows_Profiles#Folders_within_a_Profile Apparently in HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders.
|
# ? Feb 7, 2009 00:04 |
|
I have a question on SCP. I'm using Terminal under OSX. If I SSH into a server, how do I copy a file from the server, to me? I can't understand which direction the files go, when you put in the user and the location. So if I'm SSH'd as bob@10.10.10.10 and I navigate into a directory, and I want to copy file.ext to my personal computers desktop, how exactly would the syntax of that command work? scp user@host:directory/SourceFile TargetFile is what wiki tells me, but if I'm already SSH'd and in a directory looking at the file, do I omit anything? And to doublecheck, how do I be certain I'm putting it in MY desktop, not the desktop of the remote server? Does the same command apply if I wanted to copy an entire directory? edit: It's been a long time since I had to use the terminal. What's the command to show the entire path of where I'm currently in? So if I cd balls deep into folders, I can check my entire path?
|
# ? Feb 7, 2009 00:05 |
|
Kai was taken posted:edit: It's been a long time since I had to use the terminal. What's the command to show the entire path of where I'm currently in? So if I cd balls deep into folders, I can check my entire path? Use "pwd" for "present working directory"
|
# ? Feb 7, 2009 00:23 |
|
Kai was taken posted:So if I'm SSH'd as bob@10.10.10.10 and I navigate into a directory, and I want to copy file.ext to my personal computers desktop, how exactly would the syntax of that command work? Open another terminal and issue (from your local computer): code:
code:
code:
Edit: nvm Modern Pragmatist fucked around with this message at 04:44 on Feb 7, 2009 |
# ? Feb 7, 2009 00:44 |
|
I'll ask this one more time before I give up: I had a server hard reboot during an sfill (yeah, I know, that'll teach me for playing around on a server I actually needed) and now the boot drive on my server thinks it is full. Any ideas?
|
# ? Feb 7, 2009 02:35 |
|
mcsuede posted:I'll ask this one more time before I give up: I would boot to a livecd and run a full fsck on all the partitions. If that doesn't solve it you gotta find out where sfill put whatever it put there to fill up the disk. (using du to see where space is used up maybe)
|
# ? Feb 7, 2009 02:40 |
|
JHVH-1 posted:I would boot to a livecd and run a full fsck on all the partitions. If that doesn't solve it you gotta find out where sfill put whatever it put there to fill up the disk. (using du to see where space is used up maybe) Something is obviously taking up 28G--what's my next move? Been a long time since I messed with linux on a regular basis.
|
# ? Feb 7, 2009 03:04 |
|
falz posted:http://wiki.samba.org/index.php/Samba_&_Windows_Profiles#Folders_within_a_Profile Thanks, but I don't see how that really helps me.
|
# ? Feb 7, 2009 03:17 |
|
Figured it out, it's in the root trash, which is why I kept seeing it when doing du but not finding it in any user trash. As you can't login to root in Ubuntu and you can't transverse to the directory from the terminal unless you're logged in as root (talk about frustrating!) I had to do "gksudo nautilus /root/.local/share/Trash" in order to get to them. Once I figured that out, I added a delete instead of a "move to trash" option to the nautilus right click menu. Wow, that was annoying. Solved finally, but annoying. Thanks for the tip on du. mcsuede fucked around with this message at 03:54 on Feb 7, 2009 |
# ? Feb 7, 2009 03:47 |
|
covener posted:That would be unusual. Both those options are already set. This is a 'code igniter' powered site. Interestingly, if I tail -f /var/log/apache2/error.log I see this every time I try to access one of these pages: [Sat Feb 07 02:46:02 2009] [notice] child pid 7685 exit signal Segmentation fault (11) Note this is not every page or even every code igniter page, just a specific page that uses fopen() to scrape an external site. That is the only unique thing I can think of that this page does. edit: Really weird problem here that I think I am near solving (or having some one solve for me :p). I found this on the code igniter forums, referring to blank pages loading on an IIS server. A responder has the original user try inputing a url that doesn't need to be rewritten by mod_rewrite/.htaccess. It worked for that user and it works for me! If I change my rewritten url from site.com/controller/function to site.com/index.php?/controller/function it works! Here is my .htaccess file: code:
Weird wild stuff. other people fucked around with this message at 04:02 on Feb 7, 2009 |
# ? Feb 7, 2009 03:48 |
|
I want to use smoothwall, or another variant of linux to turn a spare system into a network gateway. Effectively, it needs to Take a connection to a DSL line and log on to it - and maintain that connection. Have 1 ethernet port dedicated to a "Public" network, that requires a login to access the network Have 1 ethernet port dedicated to a "Private" network, that doesn't need a password. I assume I can just learn how to SSH in, among other things. Thanks for the time, guys.
|
# ? Feb 7, 2009 04:56 |
|
Is there a program similar to Juice (in windows) for command line linux? I'm setting up a home server using clarkconnect 4.3 and wanted to be able to download my podcasts automatically using rss, but couldn't find anything that works with just command line.
|
# ? Feb 7, 2009 05:27 |
|
PopeOnARope posted:I want to use smoothwall, or another variant of linux to turn a spare system into a network gateway. Effectively, it needs to I really like IPCop. I've been using it as my router/gateway for quite a while. It's got a fairly strong 'ad-on' community. At one point, it was a fork of smoothwall but I think its ton's apart. You can have Eth0 ports are set up as zones with different routing/firewall rulings. I'm not so sure about setting up a passworded zone, but my guess is that it has the function. I know its got the ability to be a VPN client. You didn't mention, but it has WiFi eth0 support built-in with predefined rules. All that and it logs traffic with graphs! That and the last update was 2008/07/24, so the project has not halted.
|
# ? Feb 7, 2009 07:17 |
|
deong posted:I really like IPCop. I've been using it as my router/gateway for quite a while. It's got a fairly strong 'ad-on' community. At one point, it was a fork of smoothwall but I think its ton's apart. You can have Eth0 ports are set up as zones with different routing/firewall rulings. I'm not so sure about setting up a passworded zone, but my guess is that it has the function. I know its got the ability to be a VPN client. You didn't mention, but it has WiFi eth0 support built-in with predefined rules. All that and it logs traffic with graphs! That and the last update was 2008/07/24, so the project has not halted. This could be incredibly helpful. Alas, when it comes to linux I'm an idiot though. Can anyone give a guide to setting up a passworded entry point, if there is one?
|
# ? Feb 7, 2009 08:48 |
|
mcsuede posted:As you can't login to root in Ubuntu and you can't transverse to the directory from the terminal unless you're logged in as root (talk about frustrating!) I had to do "gksudo nautilus /root/.local/share/Trash" in order to get to them.
|
# ? Feb 7, 2009 12:52 |
|
Kaluza-Klein posted:[Sat Feb 07 02:46:02 2009] [notice] child pid 7685 exit signal Segmentation fault (11) The htaccess doesn't look like it implements what you wrote. However if it works on one server and not the other, check AllowOverride. Re: your crashes, are you using mod_php + the worker MPM? You could set a non-zero ulimit -c, add the CoreDumpDirectory directive, and get a backtrace with the info at http://httpd.apache.org/dev/debugging.html but I'm not sure the backtrace would get you anywhere since you already know it's in some PHP app.
|
# ? Feb 7, 2009 13:03 |
|
jegHegy posted:Next time, try sudo -i. Nice tip, thanks.
|
# ? Feb 7, 2009 16:56 |
|
ignore this
|
# ? Feb 7, 2009 22:36 |
|
Eyecannon posted:Thanks, but I don't see how that really helps me.
|
# ? Feb 7, 2009 23:24 |
|
falz posted:Your folders sync because you're using Roaming Profiles. The registry key previously mentioned apparently lets you tell it which locations to or not to sync. It sounds like you should just remove Desktop from the list. But do I have to do this on every workstation? I'd like to do it on the server, if possible.
|
# ? Feb 7, 2009 23:30 |
|
Dobermaniac posted:Is there a program similar to Juice (in windows) for command line linux? I'm setting up a home server using clarkconnect 4.3 and wanted to be able to download my podcasts automatically using rss, but couldn't find anything that works with just command line. I'm using castget.
|
# ? Feb 8, 2009 00:33 |
|
|
# ? May 10, 2024 01:27 |
|
What's the best way to rip CDs in ubuntu? EAC is awesome and after a little looking it seems like there might not be anything quite as perfect on linux? I found a guide to set up EAC in WINE if needed. Ideally I'd just like to write a script so that I can pop a CD in, it will get FreeDB info, rip to V0 and FLAC and then tag them.
|
# ? Feb 8, 2009 05:33 |