Debian Configuration :: How To Open Ports On Debian?
Jul 19, 2010
I am trying to use thunderbird to connect to gmail. followed the instructions on the gmail help section to set up thunderbird and opened ports 995 for pop and 465 smtp on my router. When that did not work I posted on the thunderbird forum. It was decided there I had a problem with debian since both the thunderbird and router settings were right. doing more research I used nmap and netstat to check for open ports and it seems to me I only have tcp 80 and udp 138 open. downloaded firestarter hoping to solve the problem but in the events section it does not show thunderbird trying to connect to any port. Is this a case of not understanding what I am looking for here. Is there some way to open all ports on debian and then using firestarter to block the traffic I do not want.
I have just switched over from firestart to gufw.I have set all incoming traffic to deny and all outgoing traffic to allow.I have rules set for incoming traffic, and have only opened 1 port on my system for torrents. My router also only has the same port opened which again is for torrents.I use "Network Tools" which is included on squeeze and do a portscan of 192.168.1.100 and 127.0.0.1 I get all kinds of crazy ports coming back as opened. What is even stranger is if I do a few scans, these ports change, so one port on one scan may come up as open, then it will disappear and a different port may show as open.
Mind you none but the torrent port is forwarded in my router, I have no idea what any of these other ports are, or why they are even showing up.What the heck is going on? I dont think this is normal? Am I at any higher risk for attack?
Just did a check on "shields up" and it says that ten of my ports are open. I get the same result with or without both shorewall and firestarter. I suspect it may have something to do with the mysql server packages added automatically during installation. Am I right. If so, what can be done about it? If not, has anyone any idea how to keep my ports closed?
I have installed Debian Jessie (<-- brilliant OS ) on my uncles Laptop (it is a Thinkpad E540) with Cinnamon as desktop environment. The installation was no problem. Everything apart from one minor thing works nicely. The minor thing however is the following:
I don't know what it is, but when I don't use a particular usb port for a while and then try to plug in a usb stick or a wacom tablet, it doesn't get recognized, it doesn't show up when I use f.e. Code: Select alllsusb. When I close the lid of the laptop and open it again, then the particular usb device gets recognized and cinnamon asks me what to do, f.e. open a folder and show the content of the usb stick I have plugged in. Because of the success on two other laptops I use the following
to save power on the Thinkpad (this is in no way my service script, I tuned everything using powertop in the terminal after having had logged in, the script above stems from a brilliant user here on the forum). Could it therefore be autosuspend that is not working properly here?
lspci reports 07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12) 08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12) eth0 is picked up (light when I plug n the cable lights up). nothing for eth1.
other OSes on the same machine pick up both. My /etc/network/interfaces file looks like auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp iface eth1 inet static
[Code]...
For those who are interested, I have an adsl modem and a router is connected to the modem. eth1 is a connection to the modem. eth0 to the router.
my proftpd setup will not do passive ports, reading the how-to on this page [URL] It gives the instructions on how to set up passive ports and masqurade but the example is using ipchains so before I start typing these commands in I would like to know if I need to change anything in the commands other then the ipchains command.
[Code].....
will this work on debian 5.05 also how do I find out if I use ip filters.
I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Failed to open /proc/filesystems: No such file or directory
Is there a way to permanently, completely and utterly disabling the "feature" that stops me from opening my CD drive? I suspect it is the same thing that asks me if I want to play/mount/etc things when I plug them in. I don't - I just want to be allowed to use my computer without silly hindrances and interruptions. What is it that tries to take over my computer in this way?
I just set up a computer with debian (im no linux expert) and now i have trouble with getting the packages for my graphics card (its an RV635)
Im tried to do it like this page says: [URL]....
However when i try to Code: Select allapt-get update he throws an error:
W: Fehlschlag beim Holen von http://httpredir.debian.org/debian/dists/jessie/Release Erwarteter Eintrag »nonfree/binary-amd64/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei)
I'm trying to get my Intel HM55 GMA HD graphics card to work in Debian Lenny.As the vanilla Xorg didn't have any support for it, I manually compiled the last stable Xorg source (1.7.1 - such a pain) and the Intel driver. But when I try to launch X, I get the following message :
(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory) (EE) intel(0) : /dev/agpgart is either not available, or no memory is available for allocation. Please enable agpgart.
I've just installed Debian Squeeze from a live CD. When I open a web browser (be it iceweasel or epiphany) and try to go to google.com, it tells me it can't resolve the host name. [Edit: They do, however, allow me to go anywhere on debian.org, minus the search feature] I also get the same error when I try to go to my website running on a local server. However, when I type the server's IP address (192.168.0.10), it goes to the website fine. Basically, any program I run that needs to resolve a host name returns an error, with the exception of the host command:
I've tried changing my DNS server IP from 192.168.0.1 (my router, configured to provide DNS) to 192.168.1.254 (my internet modem, also configured to provide DNS). That didn't help any. Then I changed my DNS server IP to the same one used by the modem, and now everything works.
I've tried googling my way out of the issue, and I've found where someone had the same issue as I've got and fixed it by adding "blacklist ipv6" to their /etc/modprobe.d/blacklist.conf file, but that didn't work for me.
So, recap: Why does resolving domain names fail for certain applications (except the "host" program) when the DNS server IP is that of my router or modem (which works fine for all of my other computers), but suddenly works when I point the computer straight to my ISP's DNS servers, and how can I permanently fix the problem?
I have a Broadcom BCM4312 LP-PHY in this machine. I was informed theres an open source driver for broadcom cards (brcm80211), but it doesn't seem to support this chipset. In the spirit of Debian, is there another driver available?
I'm trying to install the openconnect VPN client on a server machine, Debian 7 Wheezy, and APT is trying to install a lot of dependencies. I think it's trying to install the whole desktop environment.I was searching the web but all articles are for desktop machines and nobody mentions my problem with the dependencies. I also have openconnect installed in two Gnome desktop machines without problems.
This is the output:
Code: Select all# apt-get install openconnect Reading package lists... Done Building dependency tree    Reading state information... Done
I have this one comp with an Radeon (MSI-R7850) card in it and its been working fine untill I tried to open Blender (3D creation Studio) today. Blender pops open and crashes. I opened it in command line to get the output but I dont know where to go from there. Blender used to work just fine on this comp. does on my others (they're NVidia).
output; Code: Select all:~$ blender X server found. dri2 connection failed! connect failed: No such file or directory X Error of failed request:Â BadLength (poly request too large or internal Xlib length error) Â Major opcode of failed request:Â 157 (GLX) Â Minor opcode of failed request:Â 1 (X_GLXRender) Â Serial number of failed request:Â 161 Â Current serial number in output stream:Â 164
comp; Code: Select all~$ uname -a Linux node-1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux
I am using a kernel with no initrd. I have had this kind of panic before. Usually it means that the kernel can access the hard drive because the driver for the controller or filesystem isn't built into the kernel.
The kernel is 2.6.34 vanilla.
My IDE controller is a Silicon Integrated Systems SiS 5513, and I built the driver for it into the kernel BLK_DEV_SIS5513=y
My /boot (hda1) is ext2, and everything else is ext3
EXT2_FS=y EXT3_FS=y
My grub entry (hda2 is my root partition) kernel (hd0,0)/vmlinuz root=/dev/hda2
I am trying to set up a wireless 'test' box to use on a private club (11,000 acres). The initial tests won't need anything fancy, it will just be checking the visibility of a hotspot from a high-point in the middle of the property. But if it proves to have good visibility, later tests will be (hopefully) promoted by the club and made aware to members. I would like to set up a captive portal to redirect them to a comments page where they can post a quick message if they were able to connect ....
Most of the examples I see online of captive portal are based on having an internet connection and/or a NAT scheme set up. I just need a hotspot and a single web-page for these promotional tests. If possible, I would like to trigger any devices capable to suggest or otherwise open a browser to go to the promotional landing page ...
Also, one more quick question, this is to eventually be an 'open' internet for this test - most of the wpa set-up examples show using a passkey. Is making an open wifi as simple as not including the passkey or is there something else I would need to be doing?
I have a java application that I wrote recently. It runs off port 9955. The application runs great on my mac server. When I installed it on my linux box i cant get to it from outside the box. A port scan shows the port as closed. I flushed my iptables, did not help. I can telnet into the app locally, from the server and it works great. I cannot telnet from outside the server. I have a reference to the application in /etc/services as a tcp port (which it is).
I have just installed Ubuntu (/dev/sda7) and Debian (/dev/sda4), but since I have updated all informations on Ubuntu, then Debian did not appear anymore on the grub list. There is an wiki I have found, but I an not really sure about what to do.
Here are the boot informations: Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 488861020 of the same hard drive for core.img, core.img is at this location on /dev/sda and looks on partition #3 for (,gpt3)/grub.
[Code]...
ps: on this file, it says that the /boot is installed on the MBR and /dev/sda3. I will remove the boot from MBR as I am now using /dev/sda3 instead. Sorry for my english
To illustrate what I wish to learn I will begin with a specific example: Open With.jpg Suppose I create an empty file and rename it as 1.torrentRight click on the file and go to the "Open with" tab We find a list of applications to open the said file.
I thought it was just the usb printer, but now I've found my mp3 player and my usb floppy drive aren't working, either. All of these items used to work fine a few months back; now when I plug them into a usb port, the computer doesn't recognize the player, the drive or the printer. The hp website says my printer, an HP Deskjet 1010, is fully functional under Debian 8. I just did a re-install of debian Jessie stable a few days ago, but that didn't work either. I'm running Windowmaker,with pcmanfm, and a few dockapps.
When I ran the program usb-view, I got this error message:
Can not open the file /sys/kernel/debug/usb/device. Verify that you have USB compiled into your kernel, have the USB core modules loaded, and have the usbdevfs filesystem mounted.
Shouldn't usb already be installed? I used jessie netinstal;I've used netinstall before and had no problem accessing any usb devices. When I installed a few days ago, I noticed xorg did load the wacom driver for my wacom tablet plugged in, and the mp3 player says its connected, even though it doesn't show up in pcmanfm. Plus a usb external fan runs fine.
I have a clevo w230ss laptop which has debian testing on it
Code: Select alluname -a Linux linux 4.2.0-1-amd64 #1 SMP Debian 4.2.6-1 (2015-11-10) x86_64 GNU/Linux
It also has 1 usb 2.0 port and 3 usb 3.0 ports which all work, but give me max speeds of 1.2mbp/s with usb 3.0 when transferring files.
I have also an external usb 3.0 hard drive. Before i switched to debian i was using xubuntu and when i was transferring a 4gb file to the external drive via usb 3.0, this took at most 2 minutes, now in debian it takes about an hour.
lspci Code: Select all00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi
apt has enabled php automatically, so /etc/apache2/mods-enabled/php5.conf does have inside: <ifmodule mod_php5.c> AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps </ifmodule>
How to best manage partitioning when install programs not from debian repositories?I just discovered that Debian installs applications not from repositories to /opt and /lib. Both directories or folders reside in root (/) partition.Having made my root (/) partition (which is only around 500MB) -- more than sufficient for holding a couple of linux images but NOT good for holding application.What is the best solution for resolving this? It's annoying and worrying that my system always reminds of a close to full capacity root partition.
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning. # you can specify a disk to partition. The device name can be given in either # devfs or traditional non-devfs format. For example, to use the first disk
I have installed Windows 7 on my laptop . Now, it directly boot from Windows 7 . I think the MBR overwrote my grub . I have found two methods by google , but still does work . 1: boot from debian install CD, Alt +F2 switch to the console. "grub " "root (hd0,0)" "setup (hd0,0)". 2:boot from CD, mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ; chroot /mnt ; grub-install /dev/sda.