Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed backing up interface ipv6 bits #89

Open
dca00 opened this issue Jan 10, 2025 · 5 comments
Open

ERROR: Failed backing up interface ipv6 bits #89

dca00 opened this issue Jan 10, 2025 · 5 comments
Labels
solved solved

Comments

@dca00
Copy link

dca00 commented Jan 10, 2025

How should I fix this error?

$ sudo ./lnxrouter.sh --ap wlan0 sharedwifi -p somepass
[sudo] password for user123:
WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt
linux-router 0.7.6 (https://github.com/garywill/linux-router)
Released under LGPL, with no warranty. Use on your own risk.

PID: 3812
Target interface is wlan0 (12:34:56:78:90:ab) 
PCI: 0000:01:00.0
System-already-loaded driver: rt2800pci
 Network controller [0280]: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe [1814:5390]

Use random LAN IPv4 address 192.168.3.1
Channel not specified, use default
cp: cannot stat '/proc/sys/net/ipv6/conf/wlan0/disable_ipv6': No such file or directory
cp: cannot stat '/proc/sys/net/ipv6/conf/wlan0/accept_ra': No such file or directory
cp: cannot stat '/proc/sys/net/ipv6/conf/wlan0/use_tempaddr': No such file or directory
cp: cannot stat '/proc/sys/net/ipv6/conf/wlan0/addr_gen_mode': No such file or directory
Error occured

ERROR: Failed backing up interface ipv6 bits



Doing cleanup.. 
Undoing iptables changes ..
Exiting: This is the only running instance
Cleaning up done
@garywill
Copy link
Owner

Looks like your system doesn't support ipv6. What system and version are you using?
Maybe you can try commenting out ipv6 related lines

@dca00
Copy link
Author

dca00 commented Jan 11, 2025

IPv6 is disabled on this Fedora 41.

@dca00
Copy link
Author

dca00 commented Jan 20, 2025

Can nothing be done about that error?

@garywill
Copy link
Owner

try commenting out ipv6 related lines in script

@dca00
Copy link
Author

dca00 commented Jan 24, 2025

Very cool, thanks again!

backup_ipv6_bits() {
:
#    mkdir "$CONFDIR/sys_6_conf_iface" || die "Failed making dir to save interface IPv6 status"
#    cp  "/proc/sys/net/ipv6/conf/$SUBNET_IFACE/disable_ipv6" \
#        "/proc/sys/net/ipv6/conf/$SUBNET_IFACE/accept_ra"     \
#        "/proc/sys/net/ipv6/conf/$SUBNET_IFACE/use_tempaddr"  \
#        "/proc/sys/net/ipv6/conf/$SUBNET_IFACE/addr_gen_mode" \
#            "$CONFDIR/sys_6_conf_iface/" || die "Failed backing up interface ipv6 bits"
#
#    if [[ "$SHARE_METHOD" == 'redsocks' ]] ; then
#        cp "/proc/sys/net/ipv6/conf/$SUBNET_IFACE/forwarding" \
#            "$CONFDIR/sys_6_conf_iface/" || die "Failed backking up interface ipv6 bits"
#    fi
}

@garywill garywill added the solved solved label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved solved
Projects
None yet
Development

No branches or pull requests

2 participants