Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

wifi avec livebox sous linux

3 réponses
Avatar
Fabienne RAOUL
bonjour je suis sous kaella 2.1, et j'ai la livebox,
mais je n'ai pas la possibilité de me connecté en ethernet, et donc
j'aimerais me connécté en wifi avec le boitier fourni avec ma livebox
inventel.
j'ai essayé avec ndiswrapper fourni avec kaella, mais quand je met le driver
windows j'ai un message d'erreur.
j'ai regardé plusieurs site un peu partout sur internet, mais rien ne répond
a mon probléme.
mon boitier wifi est un ur054g.
pouvez-vous m'aidez???
merci d'avance

3 réponses

Avatar
jp
Salut c'est un dongle usb j'imagine?
que dit lsusb?
Avatar
jp
Salut que donne lsusb
Avatar
dominique

mon boitier wifi est un ur054g.
pouvez-vous m'aidez???


Bonjour,
Je suis sous AUROX 11.1
J'ai suivi à la lettre Léa :
http://lea-linux.org/cached/index/Trucs:Oldide7.html
Depuis, j'utilise le WIFI et ma Livebox sans aucun problème.
J'ai juste un peu modifié le script de démarrage. Bon courage,
Dominique

Script modifié :

#!/bin/sh
# (c) Lea-Linux, Jean-Christophe Cardot <jice(at)lea(dash)linux(dot)org>
#
# livebox This shell script takes care of starting and stopping
# your livebox's wifi dongle and configure it.
#
# chkconfig: 2345 12 88
# description: This startup script configures the Livebox's USB wifi
dongle

if [ -f /etc/sysconfig/livebox ];then
source /etc/sysconfig/livebox
fi

PIDFILE=/etc/dhcpc/dhcpcd-$WLAN.pid

. /etc/rc.d/init.d/functions

function get_ip() {
ip_wlan=$(ifconfig $WLAN 2>&1
| grep "inet adr:"
| cut -d' ' -f 12 | cut -d':' -f 2)
if [ "$ip_wlan" = "127.0.0.1" ]; then
unset ip_wlan
fi
}

function wifistart() {
# test if already started
unset ip_wlan
get_ip
if [ "x$ip_wlan" != "x" ]; then
echo "Wifi already started!"
exit 0
fi
# make sure dhcpcd is stopped
if [ -s $PIDFILE ]
&& ps aux | cut -b10-15 | grep -q `cat $PIDFILE`; then
kill -SIGTERM `cat $PIDFILE` 2>&1 >/dev/null
fi
rm -rf $PIDFILE 2>&1 >/dev/null
action "Lancement de NDISWrapper"
modprobe ndiswrapper
action "Lancement du wifi Livebox"
iwconfig $WLAN mode managed essid $ESSID key $WEP
action "Obtention d'une adresse IP avec DHCP"
/sbin/dhcpcd wlan0
get_ip
echo "Adresse IP : $ip_wlan"
}

function wifistop() {
action "Arrêt du wifi Livebox"
ifconfig $WLAN down
action "Arrêt de NDISWrapper"
rmmod ndiswrapper
if [ -s $PIDFILE ]
&& ps aux|cut -b10-15|grep -q `cat $PIDFILE`; then
action "Arrêt de dhcpcd"
kill -SIGTERM `cat $PIDFILE`
fi
rm -rf $PIDFILE 2>&1 >/dev/null
}

case $1 in
start)
wifistart
exit 0
;;
stop)
wifistop
exit 0
;;
status)
if fgrep -q ndiswrapper /proc/modules; then
printf "NDISWrapper loaded."
echo
else
printf "NDISWrapper not loaded."
echo
fi
if ifconfig 2>&1 | grep -q $WLAN; then
printf "$WLAN wireless interface loaded."
echo
else
printf "$WLAN wireless interface not loaded."
echo
fi
unset ip_wlan
get_ip
if [ "x$ip_wlan" = "x" ]; then
printf "No IP address"
echo
else
printf "IP Adress: $ip_wlan"
echo
fi
exit 0
;;
restart)
;;
reload)
$0 stop
$0 start
exit 0
;;
*)
printf "Usage: %sn" "$(basename $0) {start|stop|restart|status}"
exit 0
;;
esac

exit 0