Debian Multimedia :: Basic Networking - Referring To Computers By Name
May 16, 2011
Sorry if this is a dumb question, there's a lot about networking that I don't get yet. I've got two computers using the same wireless router. They both get their IP addresses via DHCP from the router (I assume). If I want to connect from one machine to another, I can use the IP address (which works), but it's a pain checking what the IP address is, I guess it depends on which one connects first? So it might work today but tomorrow the IP addresses are reversed and the same command wouldn't work.
What I'd like to do is just refer to the other computer by name, but of course I haven't got a DNS server just for these two computers, and I don't think the router can do it (can it?) so is there a way to do it? Is it really just a case of switching off DHCP and giving each computer a fixed and unique IP address, and then entering some name in the hosts file for the two computers? Although then there's nothing to guarantee that the name in the hosts file actually matches the hostname of the computer at that IP I suppose.
By pressing 'properties' on a folder it freezes and I have to do killall nautilus && nautilus to get it working again. I have found no fix when googling (saying some packages that isn't installed is the problem).
It just takes a really long time to load based on the CPU usage.
I have a minimal debian install, with not much more than enough to run scrotwm, I want to change the basic arrow cursor to a png I have. Is there a simpler lower level way of achieving this without having to install and modify an existing cursor theme. I installed x11-apps just to get xcursorgen... though idk if this has been an essential step or not. Anyway, I have run it on my arrow.png/arrow.cursor to create a "default" cursor file... though am lost as to where to go from there. I have no idea where the existing default cursor is located, though i suspect it's a font cursor not a icon cursor...
When I run it, the window shows up but Qt doesn't draw in the background. I end up with phantoms from windows behind it: URL...The window will draw the background correctly when I resize it -- MOST of the time. And sometimes there will be a noticeable delay between resizing and drawing in the window.Am I missing some libraries? Is this a bug? Maybe there's something else I can look up to find a solution?
I'm running sid, my window manager is fluxbox, and my video card is a GeForce FX Go5200 64M.I should note that this works perfectly well on another computer I have that's running sid as well.
I've got some bash scripts that I'm testing which operate on different screen sessions under different usernames. In order to check the status of them, however, I have to attach the screen sessions to my current terminal.
I run into problems, though; I only allow SSH to my machine from one username; the others shouldn't need SSH access. So, I log in as one user, and su into whichever user I need. Without performing a chmod o+rw on the terminal before I su into a different user, screen complains that it can't reattach to my terminal, because the user trying to make it attach doesn't have the permissions to do so.
Seeing as I forget to do this a lot, I wanted to make a script that I'd run on log-in to do this for me. Unfortunately, I don't know if there's a bash variable that refers to the current terminal - I can't always guarantee that I'll be logging in to /dev/pts/0, especially if my internet connection gets cut and I leave a hanging terminal...
Is there a variable for that or a way to refer to it in a script? If not, how do I work around that?
I'm trying to get compiz setup but it is not having any affect at all. I installed it and went to the synaptic system manager and added all the compiz plugins that were there. I restarted several times before and after going to the synaptic system manager. It said installed successfully, however it has no effect so it isn't "on" whatsoever. I have watched ..... tutorials on how to set it up. It looked easy enough but did not work for me. I have tried commands from tutorials but I don't know enough or how to edit folder contents. I think they were old tutorials anyways, I am running the newest squeeze debian distro. The 3d desktop was one reason I wanted to try linux. If I can't get the basic apps like this to work then there is no reason for me to use linux.
I was just wondering if someone could point me in the right direction of an easy to use soft package that can be use for basic video editing...and by basic I mean really basic - I have a video file (.ogg format) which is 11 mins long and I want to cut the last 3 minutes off.
proftpd-basic{a} The following partially installed packages will be configured: proftpd proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-pgsql 0 packages upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Recently I have been working on iptables and trying to understand how to use it. Here's a little script I have written to setup a basic firewall for myself:
Code: #!/bin/bash if [ `id -u` -ne 0 ]; then echo "You need root privilege" exit 1 fi
PROG=/sbin/iptables $PROG -F function sethttp { echo "Opening http port..." $PROG -A INPUT -p tcp --dport 80 -j ACCEPT }
function sethttps { echo "Opening https port..." $PROG -A INPUT -p tcp --dport 443 -j ACCEPT }
function settorrent { echo "Opening torrent port..." $PROG -A INPUT -p tcp --dport 52413 -j ACCEPT }
while getopts "hst" option; do case "$option" in h) sethttp;; s) sethttps;; t) settorrent;; *) echo "DOH!" esac done
$PROG -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $PROG -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT $PROG -A INPUT -i lo -j ACCEPT $PROG -A OUTPUT -o lo -j ACCEPT $PROG -A INPUT -j DROP $PROG -A FORWARD -j REJECT echo "Done setting up the firewall! Enjoy :)" exit 0
OK, this can take 3 arguments that open ports 80, 443 and 52413. And at the end, some default rules are applied. But here's the thing I don't understand: if I don't give the argument for port 80, I can still view web pages... and also, when I remove the line:
Code: $PROG -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Whether I say it to open port 80 or not, I can't view any web pages.
I am compiling libmp3lame from svn and I got following error No rule to make target `basic.html', needed by `all-am'. Stop. which package am I missing.....??
I made a basic installation of Debian on my Power Mac G4. It worked well, but now, when I start up, after introducing my password, I have something like this
myname@debian:~$
What shall I do now? I hoped for a graphical interface...
Alright, on my desktops I have always used a Microsoft basic USB optical mouse, as well as on my laptop. I recently bought a pack of three keyboards and three mice, and Squeeze hates the mice. Below is the connection output from both mice. The new mice will work for about a minute, disconnect, then reconnect. The older v1.10 mouse works flawlessly.
New Mouse: [ 2852.268048] usb 2-1: new low speed USB device using ohci_hcd and address 4 [ 2852.476163] usb 2-1: New USB device found, idVendor=045e, idProduct=0084
My new VPS is running Debian 5.0 (bash 3.2.29), and some commands seems to be missing. For example the ps command is not here, neither is ls (but dir works). Is there a package missing or what's the deal?
im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right
I updated Lucid yesterday, and when I restarted the user interface was changed to a more simple feeling display. This makes me think I'm stuck in a "basic" mode or something. I attached a screen shot, but to give you an idea ill describe some issues. For one thing the minimize buttons are now on the right. The volume control, which used to appear on the top right of the screen, is gone and my multimedia volume control buttons on my Inspiron 1420 no longer work. Furthermore, the command terminal is now white and the keyboard shortcuts for copy and past don't work.
Immediately after updating I also got an error message at login (which also appears different and gives options on bottom of screen like gnome Failsafe) which said something like "gnome default power management installed incorrectly...". I followed the advice of a forum thread that involved the purge command and that seemed to remedy that message.
I have succesflly installed OpenVPN server and clients(followed tuts). Everything is great, however when I have openvpn connection established on the clients I loose the basic internet connection in the browser, but my clients can see the vpn server(even I can ssh to the server via the openvpn client ip). I am guessing that all the traffic is routed through the server. I am just not knowledgable enough with routing , iptables and internet sharing. I am using tun based setup on OpenVPN. I am just not even sure if this is a server or a client issue, sorry for ignorance and illeteracy.
I've compiled a basic Qt app as given in this tutorial: [URL]... When I run it, the window shows up but Qt doesn't draw in the background. I end up with phantoms from windows behind it: [URL]..The window will draw the background correctly when I resize it -- MOST of the time. And sometimes there will be a noticeable delay between resizing and drawing in the window.
Am I missing some libraries? Is this a bug? Maybe there's something else I can look up to find a solution?I'm running Debian sid, my window manager is fluxbox, and my video card is a GeForce FX Go5200 64M. I should note that this works perfectly well on another computer I have that's running Debian sid as well.
I've been reading some of the previous threads but still have not been able to make the adapter work. Here's where I got stuck. I was able to install ndsiwrapper and the GUI. I found the driver (net8192su.inf) on the disk which came with the adopter and installed the driver using the GUI for ndsiwrapper. Unfortunately I get a message "invalid driver" after I installed it?
I recently took my Compaq Presario 2175US notebook completely apart and resoldered the power jack so that it could be used again (after 2 years of dormancy). After successfully putting it back together (with a handful of leftover screws ) , I was able to successfully install Ubuntu 10.04 (Windows XP seemed silly at this point and I really like using Open Office). Anyway, after a couple of days looking for the wireless driver for the internal wireless, I found the answer and got that working.
Unfortunately, the video does not seem to be working other than a basic VESA configuration. The notebook has the ATI Radeon IGP 320M video chip installed. I have searched for many days (about a week) on the internet for a way to get this working, but have been unsuccessful. Although I have found many posts all over the net (here included) that list folks with similar problems, and having tried many of the "fixes", I am still unsuccessful at getting the video card to work in any more than a minimal manner (no games, no 3D of any kind...etc.)
I get the new boot splash with the nice little rocket and all but I seriously dislike it. While I don't stare at my computer as it boots, I do happen to see it from time to time. Unfortunately, I always see this new little rocket and I wonder where my traditional Debian blue with the swirl went. Yes, I know I am using Grub-Pc now, and I have tried to edit my /etc/grub.d file by renaming the wallpaper line to my preference.
But all my config file sees is "background-grub.png" which is the little rocket ship. So, I give. What is the secret code to unlock my grub config file or do I seriously have to muck around with Plymouth in order to have a choice in the matter? Just for those of you who contemplate counseling me on better time management instead of wasting my precious time over such a silly little thing, I agree. Not to mention that I use Debian because I like to build my system.
I have installed F10 x86_64 on my laptop with the intent of having a few VM guests under qemu/kvm to run test machines for my code while at a week long class. At home, hard wired to the LAN, my DomU's connect the internet just fine. Perhaps not exactly the way i want, but it worked. Now I am at the class and I've had to connect via wireless network. My DomUs CAN resolve URLs to IPs, but I cannot connect to the web to view any basic web pages.
Attached are screeshots showing my #ifconfig and #route
Basically I've just set up a very basic network connecting my vista laptop to fedora 10 laptop via ethernet. I download from the fedora box to an external hd which I can access from both computers. So, my question is, is it possible to have the same video play on both machines, in sync?
I'm trying to set up a VPN for my home so I can ssh from my Mac to the linux desktop on my LAN remotely, but I have no idea what to do. The internet seems to suggest using a VPN, but I have no idea what's involved with setting something like that up, and I'm not even sure that's what I need to do. The linux desktop is on my LAN along with a few windows xp computers, if that matters. Does anyone care to either help or point me in the direction of good information (preferably suited for networking beginners)?
I had a Netgear Wireless USB adapter that got fried (probably because it was about 10 years old lol). It was a B and used to connect at 54 Mbps, but as it got older, was only connecting at 1 or 2 Mbps and would constantly disconnect and reconnect until it finally died.I went out and bought a Belkin Basic Wireless USB Adapter (Model Number: F7D1101). This one is an N and it connects at 150 Mbps when booted into XP, but when booted into Ubuntu 9.04, nothing shows up. It doesn't turn on, the list of networks isn't there.
Could it be that it's not compatible? I plug in the Netgear B and it shows up, connects and disconnects (because it's fried) and shows me a list of connections. But when I plug in the Belkin N, I get absolutely nothing at all. And I forgot how I connected the Netgear so...?By the way, the wireless router is a Netgear N that I got from Comcast Cable, if that helps in any way? Is there something that I need to do in terminal to "turn it on manually" or something?
I am new to linux and just set up my wired network, still a few kinks that needs to be sorted out. When setting up a wireless connection, what is needed for a basic p2p network. Wireless connection from one laptop to another to enable sharing? What I have done was set up a wireless network on my windows machine, connect to it using ubuntu. (this is all done with the built in wireless adapters, no routers). The connection is made, both the windows and ubuntu machines say connected, but none of the computers show up in the networks directory?
I am having a heck of a time trying to find directions on networking my two computers together in order to share files. I have two machines running Ubuntu 10.10 Desktop & Netbook remix.
They are both connected to my wireless router to connect to the internet.
Planning to build a basic home sever running Ubuntu 10.10 32-bit. My aim is connect an audio/video cable from the TV set top box, to the server's video/audio in ports (may have to buy a capture card that works with Linux).
I don't necessarily need a TV tuner (I think). I was hoping to have a simple video/audio capture card. If I can do this, how can I then let Ubuntu "serve" that video and audio stream to other Ubuntu PC's in my home?
I heard about MythTV. Can it take those AV streams and "send" them over my Wi-Fi to other computers?
Am so confused. The more I read the more I get confused. Want to keep this cheap and simple. I want to send the AV that the home server PC captures with its capture card, and have a client software connect from the client PC to view the streams.
I have a computer with both wire and wireless connections. Wired connection works fine, but I would also setup the wireless connection.(I also have a dual boot on this cumputer with WinXP where both wire and wireless connections works fine. So, wire and wireless configuration of the actual router is not an issue here.)
At this point I just want to know the main/overview basic steps of setting-up the wireless connection on the computer. Also if you could suggest any links to guidelines for these steps. I have been thinking about something simple like this, but I might have missed a lotInvestigate if Ubuntu finds the wifi-hardware - the installed wifi card.Investigate if Ubuntu have an installed driver for this wifi-card.Configure the Wireless Network connection, like SSID.Unplug wire connection and reboot.
I want to know how to transfer files between two computers having linux using a cat5 cable like in windows easy transfer.I am running Debian squeeze testing with linux 2.6.32-3-686 kernel and gnome 2.30