Debian Configuration :: Http Server Behind Wireless Ad-hoc?
May 7, 2010
My question is rather simple, but i couldn`t find any answer yet i have a debian box connected to the internet through an ad-hoc wireless connection with a win7 box.Could I run a http server on the linux box and access it from the "outside" somehow, since my linux box has a "private network" type IP, ie: 192.168.137.12 ?
How to best manage both http and https pages on the same apache-server without conflicts. For example, if i have both 000-default.conf and 000-default-ssl.conf pointing to mydomain.com, and don't want users who visit mydomain.com without specifically type the https-prefix to be redirected to the https-page - how to handle users using browserplugins such as https-everywhere etc?
Another option would be to create a subdomain ssl.mudomain.com and have users who want to reach the ssl site to have to type ssl. I have tested several things with https everywhere enabled in my own browser, and it seems really hard to make this working the way i want, in one way or another i always end up getting redirected to the ssl-site automatically.
The reason i need this to work is because i run one site that i don't care much about SSL, that is the "official" part of that site, and i also host some things for friends and family on the SSL-part. This would not have been a problem if it wasn't that i use self-signed certificates for my ssl-site and the major user become afraid when a certificate-warning pops up in their browser and therefor leave the site.
When clicking in an e-mail on an http link the web browser doesn't open. I use Opera as standard web browser and Icedove ask me every time how to open. I have already done: update-alternatives --config x-www-browser" and choosen for Opera but this doesn't work. Is there an alternative way to tell Icedove that is must open weblinks with Opera.
I follow the tutorial at [URL] to setup git over http, and create ssl self-signed cert through [URL]. (The command executed above is exactly the same as described in url, with only change to the name required.) However, while executing `git push upload master', command line prompt throws: error: Config with no key for remote upload-url fatal: bad config file line 9 in config What might be the root cause?
I am running apache httpd-2.2.3-43.el5.centos.3 When i restart the http, it says the following error "Invalid command 'JkSet', perhaps misspelled or defined by a module not included in the server configuration "
Do I need to install anything like tomcat? or include any configuration setting in apache? kernel version: 2.6.18-194.32.1.el5
I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?
I have a DVB-T (USB) card on a Debian Lenny EEE nettop PC. This works fine.I'd like to know if if it would be possible to use the DVB-T stream over a http server.I mean I'd like to be able to select a channel from a web page and to view it from an embedded player in this page.I do not searching a streaming solution. I'd like all is done on server side.Does anyone know if it is possible and how to achieve this?
I am trying to edit my http configuration (menu System -> Administration -> Server Settings -> HTTP) and it seems to be impossible. My Server Name comes up empty and I want to change the default Webmaster email address root@localhost to something else, but I can't change anything. I enter mu new server name and e-mail address, but when I click on the OK button I get a popup box which asks me if I want to save and exit. I click on the Yes button, and the box disappears. HTTP Server configuration does not exit and my changes are not saved.
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
Rather new to Ubuntu. I was wondering for advice on a basic iptables configuration blocking all incoming/forward and just allowing outgoing to http(s) and dns of course.
I have done a clean install of debian 8.2 (jessie) on a new PC. I am working through some of the issues that were not correctly installed. One of them is the wireless network. On startup, I have a wireless connection. At some point within the first 5-25 minutes of being logged in and doing computer stuff (there is no known action that leads to the reaction), the wireless disconnects from the network and will not reconnect. The network-manager-gnome shows three horizontal dots; the system settings> network shows all of the available networks, the strength of their signal, and the "connecting" circle spins. This behavior occurs with both WPA and insecure networks.
I have followed the guidelines for Debian>WiFi>HowToUse (https://wiki.debian.org/WiFi/HowToUse). Nothing appears amiss when following the Network-Manager>Gnome portion of the instructions. I was going to try the alternate WICD program, but one has to uninstall network-manager to use wicd and synaptic also wants to remove something called "gnome", too-- uninstalling a package with that name makes me uneasy. I have noticed that the installed versions of network-manager (0.9.10.0-7) and network-manager-gnome (0.9.10.0-2) don't exactly agree, but I doubt that that is significant.
root@fayalite:/home/agnewton# iwconfig eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"Mineralogy" Mode:Managed Frequency:2.472 GHz Access Point: 64:E5:99:2C:A0:7E Bit Rate=150 Mb/s Tx-Power=20 dBm Retry short limit:7 RTS thr=2347 B Fragment thr:off Encryption key:off Power Management:off Link Quality=70/70 Signal level=-18 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
I installed Debian today and when i installed it,it got problem with my wireless and it was this "firmware Missing".
So i opened synaptic and installed broadcom drivers for my wireless "broadcom-sta-common" & "broadcom-sta-source" & "firmware-brcm80211".
After I done that and restarted my laptop the wireless was gone from connection option and i cant get it back. My Wireless driver is "Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter" ...
I'm a new Debian user but I've been around Linux for awhile. I wanted to try Debian because I wanted something stable and that I could set up myself from a minimal install. However, I'm having issues with my WiFi connection. I'm running KDE and connected to the network, but I can't access any webpages or ping, for example, google.com. I know the network is working because I'm connected to it on my phone and my wife's Macbook. Here's the output of lspci:
Code: Select all00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
[Code] ....
Here's the output of lsusb:
Code: Select allBus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 004: ID 05ca:18ff Ricoh Co., Ltd Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[Code] ....
I'm using jessie. So far I've tried using firmware-iwlwifi from backports and installing kernel 4.3.0 from the stable repos.
I am running Jessie 8.3 and wireless in Wicd has stopped working for me, displaying "No Wireless Networks Found."
Code: Select allsudo /etc/init.d/wicd restart Restarted wicd Made sure wlan0 is in wicd preferences. iwconfig:
Code: Select alleth0Â Â Â no wireless extensions.
wlan0   IEEE 802.11abg ESSID:"Tell My Wifi Love Her"      Mode:Managed Access Point: Not-Associated  Tx-Power=200 dBm       Retry short limit:7  RTS thr:off  Fragment thr:off      Encryption key:off      Power Management:off      lo    no wireless extensions.
For some reason my user account was removed from the netdev group? So I readded it...
Code: Select allekarr@fidelio:~$ sudo gpasswd -a ekarr netdev Adding user ekarr to group netdev
I'm having trouble getting my wireless card (RNX-G300LX, from Rosewill) working with my Debian install. I had it working at one point in time, but (apparently) something has gone wrong, as it no longer connects. The network I'm trying to connect to uses WPA2. When I try to start up my wireless card as follows: # ifup wlan0
I get the following response: wmaster0: unknown hardware address type 801 wmaster0: unkown hardware address type 801 Listening on LPF/wlan0/00:1a:... Sending on LPF/wlan0/00:1a:... Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 No DHCPOFFERS received. No working leases in persistent database - sleeping.
I have set up /etc/network/interfaces as follows: auto lo iface lo inet loopback iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant.conf auto wlan0 and /etc/wpa_supplicant.conf looks like this: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 fast_reauth=1 network={ ssid="apt_102" scan_ssid=1 key_mgmt=WPA-PSK psk="mypassword" proto=WPA2 }
I should also note that running wpa_cli -i wlan0 tells me that it is "trying to associate" with my router, but authentication times out each time.
I don't exactly know what happened but for some reason only the main user has access now to the networkmanager and is able to connect to internet. If I switch to another user, the networkmanager reports no connectivity and the PCMCIA card dies. Does anyone know what to do? It seems like an access feature, related to permissions or something.
I checked but the user is added to the netdev group...
I have very strange problem with kernels 2.6.33 and 2.6.34. I have a wireless card Linksys WMP200 using rt61pci. It connects just fine using WPA2 and works, but in less than 20 minutes I still can reach any machine on my network, but this machine cannot be reached by the others (i.e. before these 20 minutes others can ping me). With default kernel 2.6.26 (Lenny) all is OK. I do not use any firewall. When this happens logs do not change - wpa_supplicant's log is normal (associated), syslog is fine, dmesg shows no errors. Sofar I have tried this:
1. acpi=off as boot parameter 2. both new kernels 2.6.33 and 2.6.34 are compiled with CONFIG_CF80211_DEFAULT_PS disabled 3. iwconfig wlan0 power off 4. Tried ndiswrapper. The device is up and scans fine but wpa2 is not working... 5. Compiled a kernel without ACPI
This is all I did without any luck and I really need the new kernels because I have a quatech device attached to the machine...
Finally took the plunge and decided to give debian a go, not done so before as feared it would be too complicated. Net install went ok. Used to wiki to get me wireless up and running by copying those commands provided most of which made no sense (why the separate kernel image for wireless?).
Anyway seems to have worked so now to the problem I can't connect to my wireless network its not broadcasting so configured it manually the way I do in ubuntu through the net manager, it doesn't connect at all.
The computer networking works fine with a normal static setup, but adding a USB wireless device is not successful. It is my own network so the wpa-ssid and wpa-psk are known to work with Lenny and a previous wireless device.The device is recognized (lsusb) and the driver is confirmed to be in the kernel (lsmod). Here is the iwconfig output:
wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off
After typing: ifconfig wlan0 192.168.1.144 up I can ping that address, but it is not working. I have just done a fresh install of Sid so that I could get the 2.6.35 kernel which contains the ath9k_htc driver for the USB wireless device that I am using. The firmware is ar9271.fw but my source of that is questionable because it does not seem readily available. I am temporarily using a PCMCIA wired connection which is what I am using to connect to the computer via telnet. (This is just for convenience so as to avoid getting up all the time.) Here is the ifconfig output:
How can I load packages from the cd? I installed from cd1 which I burned on a desktop, then installed Lenny onto a laptop. Works great, no problems except I have no way of connecting the laptop other than wireless. I've found the network manager package on the cd, but don't have a clue how to install it. I really need to get the wireless working so I can install package manager, wi-fi radar and some other things. I tried putting the disk back in and thought rescue mode might bring me back to where I could select the individual packages I need, but that didn't work, it just wanted to go through another install. Thought there was a way to select individual packages and add them to the installation.
I've been using Debian since the early days of Lenny being testing as OS on the same Computer. Its a Acer Aspire Notebook with switches for wireless and bluetooth. While booting Lenny my wireless and bluetooth stayed off as long as I didn't switch them on. But since squeeze they get activated ( you can see it by looking at the LED's ) the moment after the grub screen. I now do have to turn bluetooth and wireless off by hand everytime which is quite annoying since I mostly use eth0.
how to disable bluetooth and wireless per default in a way I can simply turn them back on by using the switch?
I am attempting to get my laptop wireless to connect to my router. Wicd sees my router, I enter the known good password, and it reports bad password. Configuring router without wireless security and attempting to connect with wicd without security fails also. Laptop wireless has worked with other another linux distro, and windows.
Environment:Squeeze installed to Dell laptop with wireless: Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Wicd reports that it fails with this text:
2011/01/11 20:06:02 :: Putting interface down 2011/01/11 20:06:02 :: Releasing DHCP leases... 2011/01/11 20:06:02 :: attempting to set hostname with dhclient 2011/01/11 20:06:02 :: using dhcpcd or another supported client may work better
I am moving over to debian from ubuntu, and the latest install is to an acer aspire one netbook, the wireless card seems to be working and I can see available networks and even connect to mine (with WPA encryption) via the gnome network manager, however opening a browser or pinging both local and external machines all fail. its as if the OS does not not know to use the card. The wired works fine.
If memory serves the card is identified by lspci as Atheros AR5007.
There is no reference to wlan0 in etc/network/interfaces.
I do not have that system on now and have to leave for work, but I can post any further info from conf files etc as required when i get home tonight... Just thought I'd post a quick description in case I'm missing something obvious...
I'm new here, I hope someone can help me get wireless working on my laptop. This is a Toshiba Satellite Pro C650-EZ1533 (Intel Core i3). The Toshiba site says it has "Atheros Wireless networking (802.11b/g/n)", but does not identify the hardware more specifically.
I installed Debian 6.0 from a netinstall disc, the version including nonfree hardware drivers. In the software selection I went with the defaults: only "Desktop environment", "Laptop" and "Basic system".
Now the GUI looks nice and behaves OK, and the audio, video, ethernet, and optical drive are working. However, I don't know how to configure wireless. It's probably my fault. I was installing and uninstalling file managers, trying to find one I would like better than Nautilus. When I went to uninstall one of them, a message in the package manager recommended using a command like "auto remove" or similar (I did not record it exactly). My understanding at the time was that this would only remove things that were installed because of dependencies but were no longer needed. However, *a lot* of things disappeard from the menus.
Now the only thing about networking in the menus is something about setting up a proxy. There should be some sort of network manager, right? Or an icon on the taskbar, maybe? But I don't know what package to install.
I have a wireless router in my room and when people use their WiFi devices in the living room the signal is very weak and really slow, i have a Debian box in the living room that i would like to use as a wireless repeater. i want it to receive the wireless signal from my router and transmit an AP that resembles the one being transmitted by the router is this possible, and how can it be done
I have a laptop running Debian Squeeze that has one wifi nic - wlan0. The ethernet nic eth0 is faulty.I have configured /etc/network/interfaces to enable wlan0 to access my home wireless LAN. The SSID for this connection is wlan1 and the security used is WPA2.A second SSID configured for the wireless LAN is wlan2 and the security used on this second SSID is WPA.Is it possible to configure wifi networking on this laptop to be able to connect to this wifi network using either SSID - wlan1 or wlan2 - via the laptop's sole network interface, wlan0?
I have an Atheros wireless USB dongle that will connect to my Wifi network just fine in Gnome but in KDE doesn't. I've read through the http://wiki.debian.org/WiFi/HowToUse and have installed all packages and tried all methods noted there but still can't get the wlan0 to work at all in KDE. Is wireless in KDE & Debian Squeeze useless?