Linux for your taste (sorry Naw :D) (16 Viewers)

What OS do you use?

  • Windows

  • Linux

  • Mac

  • Other


Results are only viewable after voting.

Martin

Senior Member
Dec 31, 2000
56,913
As I told Martin yesterday, why connect the whole camera when you can connect the memory card only?
:D

but Martin, considering my internet was still screwed, and after looking at my screenshot, what would you suggest me to do?
Let me explain that screenshot. This is the routing table in the kernel, ie. it answers the question "where do I send which packet?"

Every entry in the "route" table shows a network you are connected to (in this case just one). What it says is "the network is called 192.168.1.0 and all packets destined for this network are sent... nowhere (gateway 0.0.0.0)". Ie. they are not sent to any router, the network is local, the one you are physically connected to.

There is one entry missing, however. Because, as you can see, all ip addresses matching 192.168.1.X will be sent to the local network, but what about other ips? There needs to be a second entry whose network is "0.0.0.0". This ip, when you xor with any ip at all, will match. The wildcard, catchall entry. It also needs a gateway, because the internet is not a local network. The gateway is your DSL router. In other words, all packets to any ip other than 192.168.1.X will be sent to the gateway, and after that they are the gateway's problem.

If the gateway entry is missing you can add it like this:
# route add default gw 192.168.1.1

But it's much cleaner to use dhcp, because then all this stuff is set up for you automatically whenever you ask for an ip from the dhcp server.
 

Martin

Senior Member
Dec 31, 2000
56,913
And talking about teaching people, where shall I start (other than google) to make the webcam work?
Webcams have mediocre support last time I checked. Some models work, some manufacturer's webcams don't seem to have any drivers at all. Your best bet is prolly goog13 with your laptop model on a site like http://www.linux-laptop.net/ (there are some more sites like this) where people have written what they have done to make all the hardware work.
 

JCK

Biased
JCK
May 11, 2004
125,414
Ok, I will check it out but just to keep you busy in the meantine, in KDE3.5 I used to right click a folder and there was an action to archive it, how to do that in KDE4? Or how to do it in command line?
 

Martin

Senior Member
Dec 31, 2000
56,913
Ok, I will check it out but just to keep you busy in the meantine, in KDE3.5 I used to right click a folder and there was an action to archive it, how to do that in KDE4? Or how to do it in command line?
Yes, the integrated contextual menu from Ark, it's gone :( And I don't know when they will reinstate the plugin that made that possible.

$ tar czvf archive.tar.gz file1 file2 file3
 

JCK

Biased
JCK
May 11, 2004
125,414
Depending of the filename I can choose the compression?

If I do this:

$ tar czvf archive.rar /home/jack/Desktop/directory

Will I get a rar archive?
 

Martin

Senior Member
Dec 31, 2000
56,913
Depending of the filename I can choose the compression?

If I do this:

$ tar czvf archive.rar /home/jack/Desktop/directory

Will I get a rar archive?
No, tar produces .tar files, and giving it the z flag pipes it through gzip so you get a .tar inside a .gz. You can also use rar but that's another program (I don't think I even have it installed).

This is why the context menu in konq was so much better.
 

Bjerknes

"Top Economist"
Mar 16, 2004
116,896
Well, we have this fortran code that converts a NetCDF file to a Grib file (Meteo stuff), and what we need to do now is use csh to automate running the code instead of doing it manually. We have to be able to process any number of files and automate the code to run for all 72 hours of hurricane data we have. Criteria:

i) Need to have a loop
ii) Process 7 files
 

Bjerknes

"Top Economist"
Mar 16, 2004
116,896
This is what I got so far... no clue what I'm doing.


echo "Shell Script For Project 2" >> CaptureFile.txt

echo $shell
echo $path

@ count = 1

while ($count <= 7)
echo "COUNT: $count"

if ($count < 7) then
echo $count > datafile.0$count.dat
else
echo "nothing to do"
endif

@ count ++
end

set files = `ls /home/meteo/jrz5001/ProjectCombined/data*.f`


@ count = 1
clear
foreach processfile ($files)
echo "Processing File $count == $processfile"

grep -n -e "$count" $processfile
@ count ++
end


set numarguments = $#argv

if ($numarguments >0) then
echo "Number of command line arguments: $numarguments"
@ iargs = 1
while ($iargs <= $numarguments)
echo "Argument $iargs == $argv[$iargs]"
@ iargs ++
end
endif
 

Martin

Senior Member
Dec 31, 2000
56,913
Well, we have this fortran code that converts a NetCDF file to a Grib file (Meteo stuff), and what we need to do now is use csh to automate running the code instead of doing it manually. We have to be able to process any number of files and automate the code to run for all 72 hours of hurricane data we have. Criteria:

i) Need to have a loop
ii) Process 7 files
This should get you started:
http://www.tech-recipes.com/rx/315/cshc-shell-scripts-for-loop-syntax/
 

Users Who Are Viewing This Thread (Users: 0, Guests: 8)