Debian Configuration :: How To Make My Box Into A Wireless Repeater
May 19, 2011
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 Dell Mini 9 with a Broadcom wireless adapter. I've had it working for months on Debian Sid, but recently I updated the entire OS to get KDE 4.4 (I also went from a 2.6.30 to a 2.6.32 kernel). Something in that upgrade caused wireless to cease to work properly. The problem is similar to the one described in this thread, but no resolution is mentioned there: viewtopic.php?f=5&t=50892 I've gone through all the steps to install the STA drivers/wl module for it, and it basically appears to be working. Using wicd, I can see all the wireless networks in the area.
The problem occurs when trying to connect. When I try to connect to my WPA wireless network, it eventually fails claiming a bad password. When I turned the wireless network into an unsecured network, it eventually fails claiming it's unable to get an IP. I've also tried at the command line with wpa_supplicant and it initially appears to work but in fact it hasn't. I've also got Kubuntu 10.04 installed on this machine, and it can connect without issue (using the proprietary driver that Ubuntu's hardware driver manager allows one to use).Does anyone know what has caused this? I even tried the earlier kernel, so that's not it.
I have a laptop with Fedora installed and an iPad.The only connection to internet in my house is wireless router. It has strong signal to catch it with laptop in every corner in my house, but not strong enough for an iPad..Since my iPad is mostly near my laptop, I'd like make my laptop to be turned to wireless repeater or that serves as access point so I can connect to network with an iPad.How can I do that from my Fedora machine?
I've been trying for a couple of days now to get the Huawei E1750 to work but have had no luck so far. I've installed the packages usb-modeswitch-1.1.4 and usb-modeswitch-data and have edited the usb-modeswitch.conf to include the following:
I have a DSL modem with four ports and a built-in wireless router downstairs. It works great: I have wired Ethernet for my PCs downstairs (all plugged in directly to the DSL modem); my son has great wireless access upstairs (using the built-in wireless in his laptop). PROBLEM: I want to add another, desktop, PC upstairs. I've been trying to use wireless, with a plug-in a Linksys USB stick. It doesn't work worth crap.
I'm considering a) getting another phone jack upstairs, and moving my DSL modem there, or b) stringing some CAT-5 cable from the modem downstairs to the PC upstairs. Putting a wireless PCI card in my upstairs desktop PC might also solve the problem, but the PC only has one PCI slot, and I'd rather keep it free, if at all possible.
QUESTION: Is there any kind of "wireless repeater", where I can a) get wireless access from my DSL modem/wireless base station downstairs, and b) give me some spare Ethernet ports, so I can plug in desktop PC (so the PC can have a wired Ethernet connection)? POSSIBLE SOLUTION: I have an old Linksys WRT54G router that I'm not using. Q: Is there any way to configure it for this purpose? Q: Would it be possible to use it for this purpose if I installed OpenWRT?
These kernel sources are usually the sources from debian, with a couple of more patches that I add. It appears that for nvidia-driver package versions higher than 352.79-1, the kernel headers/sources need to be prepared with 'make prepare' and 'make prepare scripts'. It's that simple. I concluded this after the nvidia dkms build failed on my custom kernel, but then succeeded after I pointed it to the full sources, but only after running 'make prepare' and 'make prepare scripts' on them. The problem is that this make-kpkg scheme doesn't appear to do this, or if it does, it doesn't properly include in the headers everything that it should.
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
For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?
I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.
It seems that my network manager may be running in root mode...
For instance in network connections, edit and delete are greyed out. if i click add, i am unable to enter any details. if i run nm-connection-editor as root i am able to make changes.
How can i set it that the normal user can make changes? [managed is set to true in the conf file]
I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?
i'm trying to install driver for some PCI device but i have problems with it - when i run it it gives me an error
Code: Select allmake: Entering directory `/lib/modules/2.6.32-5-686/build' make: *** No rule to make target `modules'. Stop. make: Leaving directory `/lib/modules/2.6.32-5-686/build'
i've tried to find solution in internets but have no success usually they say that problem is that ppl forget to download kernel-headers and kernel-sources or unpack kernel-sources or make symlink usr/src/linux but i've done it all and the result is the same.i think the root of problem is that `/lib/modules/ 2.6.32-5-686/build' folder is empty but there have to be this RULE, so what i have to do to have it there? my system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686.
I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?
Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64' /lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'. Stop. make[2]: *** [scripts_basic] Error 2
Suspect I need another package in addition to linux-headers. Running Squeeze, amd64, KDE.
I am running on debian squeeze 6.0.2. I have been using it for the last id say 3 weeks and really am enjoying it.
I generally use transmission-gtk to share files over the internet. Normally I seed torrents at 110-160kb/s for hours at a time. However after messing around with firestarter my upload speed for seeding torrents rarely peaks over 70kb/s. I have purged firestarter with no success of my regular upload speed, and am very confused as to what happened. I also notice sometimes when it will get to about 70kb/s it will immediately drop down to the 20-30kb/s range.
For incoming bittorrent connections I use port 37294. I have set port 37294 to be allowed in my firewall, and forwarded in my router (since purging firestarter did not help I just reinstalled it).
I have also read allowing ports 6881-6889 is important, but I have never done that in my history of using torrents, and I have never experienced a decrease in UL speed like this.
Have I done something incorrect? I have never had this issue on other machines?
I understand that some of them may work only with Xorg (e.g. toggle screens), but screen and kbd backlight and volume may work at tty too (because I can change this from tty when xorg is down). I know how to do it all from the console, but I want to bind keys with actions.
E.g. I can change kbd backlight with dbus and attach this action to key in my wm config, but it is not what I want. I want to make it global. I don’t understand which layer may provide the functionality for all users. Now only two keys works as I expect: toggle wifi and toggle touchpad. I haven’t set it up, it works out of the box.
Asus N56VZ, Debian stretch. Code: Select alluname -a Linux isquabook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
I have amd64 Debian Jessie and i386 Debian Jessie installed on my laptop. I wanted to start x86 app that is installed on my x86 OS from my amd64 OS using chroot.
My mounts inside chroot: Code: Select all/dev/sda7 on / type ext4 (rw,relatime,data=ordered) /dev/sda5 on /tmp type ext4 (rw,relatime,errors=remount-ro,data=ordered) /dev/sda5 on /etc/resolv.conf type ext4 (rw,relatime,errors=remount-ro,data=ordered) tmpfs on /dev/shm type tmpfs (rw,relatime) proc on /proc type proc (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000) none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755) systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) /dev/sda5 on /var/lib/dbus/machine-id type ext4 (rw,relatime,errors=remount-ro,data=ordered)
sda5 is host OS and sda7 is guest OS
when I start any x86 app I can see "failed to create secure directory (/run/user/1000/pulse) permission denied" how to make pulseaudio to work inside chroot?
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
I'm using Debian 5 with Exim 4 on my VPS. My purpose is to make mailboxes for each virtual host on my server. What do I have: 1. Exim is set correctly - receiving mail from [URL]... is successfull. 2. Mail for [URL]... is delivered, and the mail for [URL]... too. But [URL]... is the site written to /etc/hosts (it's localhost), and [URL]... is virtual host. But mail from both boxes writes to /var/mail/mail. Now what do I need: 1. Make mail for [URL]... store in [URL].... and mail for [URL].. store in www/Maildir. 2. Make mailboxes like [URL].... to receive mail by Thunderbird. 3. Set passwords for [URL]... and [URL]... (I don't want to enter my system user/root passwords).
I am planning to build a server in future. That will be a computer with GNU. It will be a router and file server. It will get the VPN-Internet and share it with all the PCs connected to LAN. There will be Samba for file sharing. And I'm thinking that if I just share some directory on that server with Samba, it will be possible to get access to that dir from VPN. So it's not very safe to do that. Is it possible to prevent access to Samba dir from VPN connection?
The announcement of several new make scripts in the 2.6.32 release notes is very exciting.1.8. Easy local kernel configuration.Most people uses the kernel shipped by distros - and that's good. But some people like to compile their own kernels from kernel.org, or maybe they like following the Linux development and want to try it. Configuring your own kernel, however, has become a very difficult and tedious task - there're too many options, and some times userspace software will stop working if you don't enable some key option. You can use a standard distro .config file, but it takes too many time to compile all the options it enables.
To make easier the process of configuration, a new build target has been added: make localmodconfig. It runs "lsmod" to find all the modules loaded on the current running system. It will read all the Makefiles to map which CONFIG enables a module. It will read the Kconfig files to find the dependencies and selects that may be needed to support a CONFIG. Finally, it reads the .config file and removes any module "=m" that is not needed to enable the currently loaded modules. With this tool, you can strip a distro .config of all the unuseful drivers that are not needed in our machine, and it will take much less time to build the kernel. There's an additional "make localyesconfig" target, in case you don't want to use modules and/or initrds.
I need to make a minor change to one of the drivers in my 2.6.38 (-sid) kernel. However, I am wondering how best to go about it. Many of the guides on the internet presume one will be using a vanilla source tree and plan on manual configuration.
I am looking for the easiest means of accomplishing a simple recompilation of what I currently have -- with the same configuration and everything else. On Gentoo I usually just do a zcat /proc/config.gz > .config
However am unsure if this is the, correct, Debian way of doing things.
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
I am trying something a bit tricky.Suppose there is a website URL...Now suppose when i open a file /var/www/ test.php which connects to the above website to gather some info and then allow me to further in the process, i want it to instead direct to a file say /var/www/test_done.php.How do i edit my hosts file for such a scenario? Is there any other better option than using a hosts file ?
I am making backups and I need to make a cron job that mounts a 2nd local hard drive.
It is not listed in my fstab file and I mount it manually in nautilus (having to type a password). It is designated as /dev/sdb1 and /media/repo when it is mounted. Can I get cron to mount it and then add the password or do I have to add it to fstab?
I'm trying to make a script that loads at boot and asks for user input before doing it's stuff. So I created a script in /etc/init.d/ following the example given there (skeleton file) and used update-rc.d to make it load before GDM.
But when my script requests user input, init doesn't stop, and goes on loading other services and loads GDM. I have to CTRL+F1 to get to my script. I want my script to pause the init system till it ends doing it's stuff and the the other services can go on loading.
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