Re: [9fans] Raw ethernet on 9vx

2020-12-09 Thread Lucio De Re
"ip link ..." can optionally set or select the ethernet address, which is indeed 48 bits (6 bytes) long. I can see how that may be linked to the DHCP failure, but only as an educated guess. Lucio. On 12/9/20, remyw...@cs.washington.edu wrote: > Sorry, I should have quoted the errors more carefu

Re: [9fans] Raw ethernet on 9vx

2020-12-09 Thread remywang
Sorry, I should have quoted the errors more carefully.  > I wonder why it says DHCP failed instead of no success with DHCP. You are right, it does say "no success with DHCP".  > If "0.0.0.0" is too short, the chances are "0.0.0.0/0" may be the valid form. The exact error is "Invalid address len

Re: [9fans] Raw ethernet on 9vx

2020-12-09 Thread Lucio De Re
On 12/9/20, remyw...@cs.washington.edu wrote: > > [ ... ] You're brave! > And several details: > 1. I had to hard-code the tap device name "tap5" because `ip tuntap ...` > doesn't return the interface name. > 2. I have no idea what 0.0.0.0 is, or where to pass it in. (tried `ip link > set tap5 up

Re: [9fans] Raw ethernet on 9vx

2020-12-09 Thread Stuart Morrow
If you're using the 9front userspace you might want to throw the 9front kernel's port directory at 9vx and rebuild (I haven't tried this). Not that that has anything to do with your current problem. I wonder why it says DHCP failed instead of no success with DHCP. Can't help you with the tun/tap

Re: [9fans] Raw ethernet on 9vx

2020-12-08 Thread remywang
OK, here's what I've got:  diff --git a/bin/tap b/bin/tap index 5131834..fbfe066 100755 --- a/bin/tap +++ b/bin/tap @@ -8,26 +8,26 @@ cmd=$1  shift || fatal $usage  user=`whoami` -# Create the tap device with tunctl -iface=`sudo tunctl -b -u $user` +# Create the tap device with tuntap +`sudo ip t

Re: [9fans] Raw ethernet on 9vx

2020-12-08 Thread remywang
Thanks everybody for the insight. I have to admit that I know absolutly nothing about networking, so please bear with me (or take over if I'm too slow :). The gentoo wiki has good documentation on switching from ifconfig (n

Re: [9fans] Raw ethernet on 9vx

2020-12-08 Thread hiro
ah that's interesting. perhaps one day we can add tap also to drawterm :) -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T84b4492f91f2abb6-M32cd5772864ca5ae40173918 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] Raw ethernet on 9vx

2020-12-08 Thread David du Colombier
The https://github.com/0intro/vx32 repository was based on the latest Ron Minnich and Yiyus repository. -- David du Colombier -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T84b4492f91f2abb6-M9130b6194452b64df3187ab4 Delivery options:

Re: [9fans] Raw ethernet on 9vx

2020-12-08 Thread Devon H. O'Dell
> This was based on some proof-of-concept work I did 10-11 years ago and > then was completed to a better standard in a GSoC project by yiyus. I > guess Ron also did some similar work? I don't recall if I mentored the > project or whether Ron did, or to what extent there was collaboration. Looking

Re: [9fans] Raw ethernet on 9vx

2020-12-07 Thread Lucio De Re
On list, please, Devon and Remy. I'd also like to get 9VX working. Lucio. On 12/8/20, Devon H. O'Dell wrote: > Ah, neat. David's repo seems more up to date. > > Linux has undergone a few network subsystem and tool revelations in the > intervening decade, so may be worth updating the tap executor

Re: [9fans] Raw ethernet on 9vx

2020-12-07 Thread Devon H. O'Dell
Ah, neat. David's repo seems more up to date. Linux has undergone a few network subsystem and tool revelations in the intervening decade, so may be worth updating the tap executor for modern tools. Happy to help guide on this matter on- or off-list. --dho On Mon, Dec 7, 2020 at 21:55 wrote: >

Re: [9fans] Raw ethernet on 9vx

2020-12-07 Thread remywang
Thanks Devon, this is helpful! I'm using 0intro's repo, and it seems to already set PLAN9TAP=ethertap for linux (link ). The 9vx doc  suggests `tap 9vx -r plan9 -u glenda` should w

Re: [9fans] Raw ethernet on 9vx

2020-12-07 Thread Devon H. O'Dell
Hi Remy, This was based on some proof-of-concept work I did 10-11 years ago and then was completed to a better standard in a GSoC project by yiyus. I guess Ron also did some similar work? I don't recall if I mentored the project or whether Ron did, or to what extent there was collaboration. The w

[9fans] Raw ethernet on 9vx

2020-12-06 Thread remywang
Hello,  I tried out plan9 on 9vx today, and things worked well except for networking. The wiki  claims extensions are needed for raw ethernet and native IP stack, but I couldn't find any resource (all links I tried were 404). Can someone give me pointers